Language

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

定義

指定した引数を使用して正規の 'DiffMicroseconds' 関数を呼び出す DbFunctionExpression を作成します。この関数には、それぞれ DateTime、DateTimeOffset、または Time の結果型が必要です。 式の結果の型は Edm.Int32 です。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression DiffMicroseconds(this System.Data.Entity.Core.Common.CommandTrees.DbExpression timeValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression timeValue2);
static member DiffMicroseconds : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function DiffMicroseconds (timeValue1 As DbExpression, timeValue2 As DbExpression) As DbFunctionExpression

パラメーター

timeValue1
DbExpression

最初の時刻値の引数を指定する式。

timeValue2
DbExpression

2 番目の時間値引数を指定する式。

戻り値

timeValue1 と timeValue2 の差であるマイクロ秒数を返す新しい DbFunctionExpression。

適用対象