EdmFunctions.AddDays(DbExpression, DbExpression) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto DbFunctionExpression che richiama la funzione 'AddDays' canonica con gli argomenti specificati, che devono presentare tipi di risultato DateTime, DateTimeOffset e Integer. Il tipo di risultato dell'espressione è uguale al tipo di risultato di dateValue.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression AddDays (this System.Data.Entity.Core.Common.CommandTrees.DbExpression dateValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression addValue);
static member AddDays : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AddDays (dateValue As DbExpression, addValue As DbExpression) As DbFunctionExpression
Parametri
- dateValue
- DbExpression
Espressione che specifica il valore a cui aggiungereValueshould.
- addValue
- DbExpression
Espressione che specifica il numero di giorni da aggiungere a dateValue.
Restituisce
Nuova classe DbFunctionExpression che aggiunge il numero di giorni specificato da addValue al valore specificato da dateValue.