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

2 番目の値を取得する値を指定する式。

返品

timeValueから 2 番目の整数を返す新しい DbFunctionExpression。

例外

timeValuenullです。

timeValue が無効です。

適用対象