EdmFunctions.Millisecond(DbExpression) Metódus

Definíció

Létrehoz egy DbFunctionExpression olyan parancsot, amely meghívja az "Ezredmásodperc" függvényt a megadott argumentummal, amelynek 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 ^ Millisecond(System::Data::Common::CommandTrees::DbExpression ^ timeValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Millisecond(this System.Data.Common.CommandTrees.DbExpression timeValue);
static member Millisecond : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Millisecond (timeValue As DbExpression) As DbFunctionExpression

Paraméterek

timeValue
DbExpression

Egy kifejezés, amely megadja azt az értéket, amelyből az ezredmásodpercet le kell kérni.

Válaszok

Egy új DbFunctionExpression, amely visszaadja az egész szám ezredmásodperc értékét.timeValue

Kivételek

timeValue az null.

timeValue érvénytelen.

A következőre érvényes: