EdmFunctions.Day(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'Day' canonica con l'argomento specificato, che deve avere un tipo di risultato DateTime o DateTimeOffset. 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.

Valori restituiti

Nuovo DbFunctionExpression che restituisce il valore intero giorno da dateValue.

Eccezioni

dateValue è null.

dateValue non è valido.

Si applica a