EdmFunctions.CreateTime(DbExpression, DbExpression, DbExpression) メソッド

定義

指定した引数を使用して正規の 'CreateTime' 関数を呼び出す DbFunctionExpression を作成します。 second 結果の型は Edm.Double である必要があり、他のすべての引数の結果の型は Edm.Int32 である必要があります。 式の結果の型は Edm.Time です。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ CreateTime(System::Data::Common::CommandTrees::DbExpression ^ hour, System::Data::Common::CommandTrees::DbExpression ^ minute, System::Data::Common::CommandTrees::DbExpression ^ second);
public static System.Data.Common.CommandTrees.DbFunctionExpression CreateTime(System.Data.Common.CommandTrees.DbExpression hour, System.Data.Common.CommandTrees.DbExpression minute, System.Data.Common.CommandTrees.DbExpression second);
static member CreateTime : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function CreateTime (hour As DbExpression, minute As DbExpression, second As DbExpression) As DbFunctionExpression

パラメーター

hour
DbExpression

新しい DateTime インスタンスの時間値を提供する式。

minute
DbExpression

新しい DateTime インスタンスの分の値を提供する式。

second
DbExpression

新しい DateTime インスタンスの 2 番目の値を提供する式。

返品

指定した値に基づいて新しい時刻を返す新しい DbFunctionExpression。

例外

hourminute、または secondnull

hourminute、または second が無効です。

適用対象