EdmFunctions.Month(DbExpression) Yöntem
Ö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.
DbFunctionExpression DateTime veya DateTimeOffset sonuç türüne sahip olması gereken belirtilen bağımsız değişkenle kurallı 'Month' işlevini çağıran bir oluşturur. İfadenin sonuç türü Edm.Int32'dir.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Month(System::Data::Common::CommandTrees::DbExpression ^ dateValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Month (this System.Data.Common.CommandTrees.DbExpression dateValue);
static member Month : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Month (dateValue As DbExpression) As DbFunctionExpression
- dateValue
- DbExpression
Ayın alınması gereken değeri belirten ifade.
içinden dateValue
tamsayı ay değerini döndüren yeni bir DbFunctionExpression.
dateValue
, null
değeridir.
dateValue
geçersizdir.
Ürün | Sürümler |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: