EdmFunctions.Second(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie Second aanroept met het opgegeven argument, dat een resultaattype DateTime, DateTimeOffset of Tijd moet hebben. Het resultaattype van de expressie is 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

Parameters

timeValue
DbExpression

Een expressie waarmee de waarde wordt opgegeven waaruit de tweede moet worden opgehaald.

Retouren

Een nieuwe DbFunctionExpression die de tweede waarde van het gehele getal retourneert.timeValue

Uitzonderingen

timeValue is null.

timeValue is ongeldig.

Van toepassing op