EdmFunctions.Minute(DbExpression) Metodo

Definizione

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

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

Parametri

timeValue
DbExpression

Espressione che specifica il valore da cui recuperare il minuto.

Valori restituiti

Nuovo Oggetto DbFunctionExpression che restituisce il valore integer del minuto da timeValue.

Eccezioni

timeValue è null.

timeValue non è valido.

Si applica a