EdmFunctions.AddMicroseconds(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 '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.