Condividi tramite


EdmFunctions.AddNanoseconds(DbExpression, DbExpression) Metodo

Definizione

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

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

Parametri

timeValue
DbExpression

Espressione che specifica il valore a cui aggiungereValueshould.

addValue
DbExpression

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

Restituisce

Nuovo DbFunctionExpression che aggiunge il numero di nanosecondi specificati da addValue al valore specificato da timeValue.

Si applica a