EdmFunctions.AddNanoseconds(DbExpression, DbExpression) 메서드

정의

결과 형식이 DateTime, DateTimeOffset 또는 Time 및 정수 형식이어야 하는 지정된 인수를 사용하여 정식 'AddNanoseconds' 함수를 호출하는 DbFunctionExpression을 만듭니다. 식의 결과 형식은 의 timeValue결과 형식과 동일합니다.

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

매개 변수

timeValue
DbExpression

추가할 값을 지정하는 addValue 식입니다.

addValue
DbExpression

에 추가할 나노초 수를 지정하는 timeValue식입니다.

반환

에 지정된 나노초 수를 에 지정된 값timeValueaddValue 추가하는 새 DbFunctionExpression입니다.

예외

timeValue 또는 addValuenull인 경우

timeValue 또는 addValue가 잘못되었습니다.

적용 대상