EdmFunctions.DiffMinutes(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'DiffMinutes' canonica con gli argomenti specificati, che devono avere ogni 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 ^ DiffMinutes(System::Data::Common::CommandTrees::DbExpression ^ timeValue1, System::Data::Common::CommandTrees::DbExpression ^ timeValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression DiffMinutes(this System.Data.Common.CommandTrees.DbExpression timeValue1, System.Data.Common.CommandTrees.DbExpression timeValue2);
static member DiffMinutes : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function DiffMinutes (timeValue1 As DbExpression, timeValue2 As DbExpression) As DbFunctionExpression

Parametri

timeValue1
DbExpression

Espressione che specifica l'argomento del valore della prima volta.

timeValue2
DbExpression

Espressione che specifica il secondo argomento valore di ora.

Valori restituiti

Nuovo DbFunctionExpression che restituisce il numero di minuti che corrisponde alla differenza tra timeValue1 e timeValue2.

Si applica a