Condividi tramite


EdmFunctions.AddMinutes(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'AddMinutes' canonica con gli argomenti specificati, che devono presentare tipi di risultato DateTime, DateTimeOffset o Time e Integer. Il tipo di risultato dell'espressione corrisponde al tipo di risultato timeValue.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression AddMinutes (this System.Data.Entity.Core.Common.CommandTrees.DbExpression timeValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression addValue);
static member AddMinutes : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AddMinutes (timeValue As DbExpression, addValue As DbExpression) As DbFunctionExpression

Parametri

timeValue
DbExpression

Espressione che specifica il valore a cui aggiungere addValueshould.

addValue
DbExpression

Espressione che specifica il numero di minuti da aggiungere a timeValue.

Restituisce

Nuova classe DbFunctionExpression che aggiunge il numero di minuti specificato da addValue al valore specificato da timeValue.

Si applica a