EdmFunctions.AddMonths(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ı 'AddMonths' işlevini çağıran ve DateTime veya DateTimeOffset ve tamsayı sonuç türlerine sahip olması gereken bir DbFunctionExpression oluşturur. İfadenin sonuç türü, sonuç türüyle dateValueaynıdır.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ AddMonths(System::Data::Common::CommandTrees::DbExpression ^ dateValue, System::Data::Common::CommandTrees::DbExpression ^ addValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AddMonths (this System.Data.Common.CommandTrees.DbExpression dateValue, System.Data.Common.CommandTrees.DbExpression addValue);
static member AddMonths : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AddMonths (dateValue As DbExpression, addValue As DbExpression) As DbFunctionExpression
Parametreler
- dateValue
- DbExpression
Eklenmesi gereken değeri addValue belirten bir ifade.
- addValue
- DbExpression
öğesine eklenecek dateValueay sayısını belirten ifade.
Döndürülenler
tarafından dateValuebelirtilen değere tarafından addValue belirtilen ay sayısını ekleyen yeni bir DbFunctionExpression.
Özel durumlar
dateValue veya addValue şeklindedir null.
dateValue veya addValue geçersiz.