EdmFunctions.CreateTime(DbExpression, DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'CreateTime' canonica con gli argomenti specificati. second deve avere un tipo di risultato Edm.Double, mentre tutti gli altri argomenti devono avere un tipo di risultato Edm.Int32. Il tipo di risultato dell'espressione è Edm.Time.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ CreateTime(System::Data::Common::CommandTrees::DbExpression ^ hour, System::Data::Common::CommandTrees::DbExpression ^ minute, System::Data::Common::CommandTrees::DbExpression ^ second);
public static System.Data.Common.CommandTrees.DbFunctionExpression CreateTime(System.Data.Common.CommandTrees.DbExpression hour, System.Data.Common.CommandTrees.DbExpression minute, System.Data.Common.CommandTrees.DbExpression second);
static member CreateTime : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function CreateTime (hour As DbExpression, minute As DbExpression, second As DbExpression) As DbFunctionExpression

Parametri

hour
DbExpression

Espressione che fornisce il valore hour per la nuova istanza DateTime.

minute
DbExpression

Espressione che fornisce il valore minuto per la nuova istanza DateTime.

second
DbExpression

Espressione che fornisce il secondo valore per la nuova istanza DateTime.

Valori restituiti

Nuovo DbFunctionExpression che restituisce un nuovo valore Time in base ai valori specificati.

Eccezioni

hour, minuteo second è null.

hour, minuteo second non è valido.

Si applica a