EdmFunctions.Millisecond(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione canonica "Millisecond" con l'argomento specificato, che deve avere DateTime, DateTimeOffset o Time come tipo di risultato. Il tipo di risultato dell'espressione è Edm.Int32.

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

Parametri

timeValue
DbExpression

Espressione che specifica il valore da cui recuperare il millisecondo.

Restituisce

Nuovo DbFunctionExpression che restituisce il valore integer millisecondo da timeValue.

Eccezioni

timeValue è null.

timeValue non è valido.

Si applica a