EdmFunctions.AddSeconds(DbExpression, DbExpression) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen bağımsız değişkenlerle kurallı 'AddSeconds' işlevini çağıran ve DateTime, DateTimeOffset veya Time ve tamsayı sonuç türlerine sahip olması gereken bir DbFunctionExpression oluşturur. İfadenin sonuç türü, sonuç türüyle timeValueaynıdır.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ AddSeconds(System::Data::Common::CommandTrees::DbExpression ^ timeValue, System::Data::Common::CommandTrees::DbExpression ^ addValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AddSeconds (this System.Data.Common.CommandTrees.DbExpression timeValue, System.Data.Common.CommandTrees.DbExpression addValue);
static member AddSeconds : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AddSeconds (timeValue As DbExpression, addValue As DbExpression) As DbFunctionExpression
Parametreler
- timeValue
- DbExpression
Eklenmesi gereken değeri addValue belirten bir ifade.
- addValue
- DbExpression
öğesine eklenecek timeValuesaniye sayısını belirten ifade.
Döndürülenler
tarafından timeValuebelirtilen değere tarafından belirtilen addValue saniye sayısını ekleyen yeni bir DbFunctionExpression.
Özel durumlar
timeValue veya addValue şeklindedir null.
timeValue veya addValue geçersiz.