EdmFunctions.AddMicroseconds(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'AddMicroseconds' 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 di timeValue.

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

Parametri

timeValue
DbExpression

Espressione che specifica il valore a cui addValue aggiungere.

addValue
DbExpression

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

Restituisce

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

Eccezioni

timeValue o addValue è null.

timeValue o addValue non è valido.

Si applica a