EdmFunctions.Second(DbExpression) メソッド

定義

指定された引数で正規の Second 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は DateTime、DateTimeOffset、または Time である必要があります。 式の結果型は Edm.Int32 です。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Second(System::Data::Common::CommandTrees::DbExpression ^ timeValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Second (this System.Data.Common.CommandTrees.DbExpression timeValue);
static member Second : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Second (timeValue As DbExpression) As DbFunctionExpression

パラメーター

timeValue
DbExpression

秒の取得元の値を指定する式。

戻り値

から timeValue2 番目の整数の値を返す新しい DbFunctionExpression。

例外

timeValuenullです。

timeValue が無効です。

適用対象