EdmFunctions.Month(DbExpression) 메서드

정의

결과 형식이 DateTime 또는 DateTimeOffset이어야 하는 지정된 인수를 사용하여 정식 'Month' 함수를 호출하는 DbFunctionExpression 을 만듭니다. 이 식의 결과 형식은 Edm.Int32입니다.

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

월을 검색해야 하는 값을 지정하는 식입니다.

반환

에서 정수 월 값을 dateValue반환하는 새 DbFunctionExpression입니다.

예외

dateValuenull입니다.

dateValue이 잘못되었습니다.

적용 대상