EdmFunctions.DiffMicroseconds(DbExpression, DbExpression) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した引数を使用して正規の 'DiffMicroseconds' 関数を呼び出す DbFunctionExpression を作成します。この関数には、それぞれ DateTime、DateTimeOffset、または Time の結果型が必要です。 式の結果の型は Edm.Int32 です。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ DiffMicroseconds(System::Data::Common::CommandTrees::DbExpression ^ timeValue1, System::Data::Common::CommandTrees::DbExpression ^ timeValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression DiffMicroseconds(this System.Data.Common.CommandTrees.DbExpression timeValue1, System.Data.Common.CommandTrees.DbExpression timeValue2);
static member DiffMicroseconds : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function DiffMicroseconds (timeValue1 As DbExpression, timeValue2 As DbExpression) As DbFunctionExpression
パラメーター
- timeValue1
- DbExpression
最初の時刻値の引数を指定する式。
- timeValue2
- DbExpression
2 番目の時間値引数を指定する式。
返品
timeValue1とtimeValue2の差であるマイクロ秒数を返す新しい DbFunctionExpression。