EdmFunctions.DiffNanoseconds(DbExpression, DbExpression) 메서드

정의

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ DiffNanoseconds(System::Data::Common::CommandTrees::DbExpression ^ timeValue1, System::Data::Common::CommandTrees::DbExpression ^ timeValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression DiffNanoseconds (this System.Data.Common.CommandTrees.DbExpression timeValue1, System.Data.Common.CommandTrees.DbExpression timeValue2);
static member DiffNanoseconds : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function DiffNanoseconds (timeValue1 As DbExpression, timeValue2 As DbExpression) As DbFunctionExpression

매개 변수

timeValue1
DbExpression

첫 번째 시간 값 인수를 지정하는 식입니다.

timeValue2
DbExpression

두 번째 시간 값 인수를 지정하는 식입니다.

반환

timeValue2timeValue1 차이인 나노초 수를 반환하는 새 DbFunctionExpression입니다.

적용 대상