EdmFunctions.DiffMicroseconds(DbExpression, DbExpression) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a kanonikus "DiffMicroseconds" függvényt a megadott argumentumokkal, amelyeknek mindegyiknek DateTime, DateTimeOffset vagy Time eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa: 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
Paraméterek
- timeValue1
- DbExpression
Az első alkalommal megadott érték argumentumot meghatározó kifejezés.
- timeValue2
- DbExpression
Egy kifejezés, amely a második időérték argumentumát adja meg.
Válaszok
Egy új DbFunctionExpression, amely a mikroszekundumok számát adja vissza, amely a különbség timeValue1timeValue2és a .