EdmFunctions.DiffMicroseconds(DbExpression, DbExpression) Yöntem

Tanım

Belirtilen bağımsız değişkenlerle kurallı 'DiffMicroseconds' işlevini çağıran ve her birinin DateTime, DateTimeOffset veya Time sonuç türüne sahip olması gereken bir DbFunctionExpression oluşturur. İfadenin sonuç türü Edm.Int32'dir.

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

Parametreler

timeValue1
DbExpression

İlk kez değer bağımsız değişkenini belirten ifade.

timeValue2
DbExpression

İkinci saat değeri bağımsız değişkenini belirten ifade.

Döndürülenler

ile timeValue2arasındaki timeValue1 fark olan mikrosaniye sayısını döndüren yeni bir DbFunctionExpression.

Şunlara uygulanır