EdmFunctions.Second(DbExpression) Metódus

Definíció

Létrehoz egy DbFunctionExpression olyan parancsot, amely meghívja a canonical 'Second' 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 ^ Second(System::Data::Common::CommandTrees::DbExpression ^ timeValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Second(this System.Data.Common.CommandTrees.DbExpression timeValue);
static member Second : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Second (timeValue As DbExpression) As DbFunctionExpression

Paraméterek

timeValue
DbExpression

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

Válaszok

Új DbFunctionExpression, amely az egész szám második értékét adja vissza.timeValue

Kivételek

timeValue az null.

timeValue érvénytelen.

A következőre érvényes: