Aracılığıyla paylaş


EdmFunctions.CreateTime(DbExpression, DbExpression, DbExpression) Yöntem

Tanım

Belirtilen bağımsız değişkenlerle kurallı 'CreateTime' işlevini çağıran bir DbFunctionExpression oluşturur. second Edm.Double sonuç türüne sahip olmalıdır, diğer tüm bağımsız değişkenler ise Edm.Int32 sonuç türüne sahip olmalıdır. İfadenin sonuç türü Edm.Time'dır.

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

Parametreler

hour
DbExpression

Yeni DateTime örneğinin saat değerini sağlayan ifade.

minute
DbExpression

Yeni DateTime örneği için dakika değeri sağlayan ifade.

second
DbExpression

Yeni DateTime örneği için ikinci değeri sağlayan ifade.

Döndürülenler

Belirtilen değerlere göre yeni bir Zaman döndüren yeni bir DbFunctionExpression.

Özel durumlar

hour, minuteveya second şeklindedir null.

hour, minuteveya second geçersiz.

Şunlara uygulanır