EdmFunctions.Day(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione canonica "Day" con l'argomento specificato, che deve avere DateTime o DateTimeOffset come tipo di risultato. Il tipo di risultato dell'espressione è Edm.Int32.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Day(System::Data::Common::CommandTrees::DbExpression ^ dateValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Day (this System.Data.Common.CommandTrees.DbExpression dateValue);
static member Day : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Day (dateValue As DbExpression) As DbFunctionExpression

Parametri

dateValue
DbExpression

Espressione che specifica il valore da cui recuperare il giorno.

Restituisce

Nuovo DbFunctionExpression che restituisce il valore intero giorno da dateValue.

Eccezioni

dateValue è null.

dateValue non è valido.

Si applica a