EdmFunctions.CreateDateTime 메서드

정의

지정된 인수를 사용하여 정식 'CreateDateTime' 함수를 호출하는 DbFunctionExpression을 만듭니다. second의 결과 형식은 Edm.Double이어야 하지만 나머지 인수의 결과 형식은 Edm.Int32여야 합니다. 식의 결과 형식은 Edm.DateTime입니다.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression CreateDateTime(System.Data.Entity.Core.Common.CommandTrees.DbExpression year, System.Data.Entity.Core.Common.CommandTrees.DbExpression month, System.Data.Entity.Core.Common.CommandTrees.DbExpression day, System.Data.Entity.Core.Common.CommandTrees.DbExpression hour, System.Data.Entity.Core.Common.CommandTrees.DbExpression minute, System.Data.Entity.Core.Common.CommandTrees.DbExpression second);
static member CreateDateTime : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function CreateDateTime (year As DbExpression, month As DbExpression, day As DbExpression, hour As DbExpression, minute As DbExpression, second As DbExpression) As DbFunctionExpression

매개 변수

year
DbExpression

새 DateTime 인스턴스에 연도 값을 제공하는 식입니다.

month
DbExpression

새 DateTime 인스턴스에 월 값을 제공하는 식입니다.

day
DbExpression

새 DateTime 인스턴스에 일 값을 제공하는 식입니다.

hour
DbExpression

새 DateTime 인스턴스에 시 값을 제공하는 식입니다.

minute
DbExpression

새 DateTime 인스턴스에 분 값을 제공하는 식입니다.

second
DbExpression

새 DateTime 인스턴스에 초 값을 제공하는 식입니다.

반환

지정된 값을 기반으로 새로운 DateTime을 반환하는 새 DbFunctionExpression입니다.

적용 대상