EdmFunctions.AddMicroseconds(DbExpression, DbExpression) メソッド

定義

指定した引数を使用して正規の 'AddMicroseconds' 関数を呼び出す DbFunctionExpression を作成します。引数には DateTime、DateTimeOffset または Time、整数の結果型が必要です。 式の結果の型は、 timeValueの結果の型と同じです。

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

パラメーター

timeValue
DbExpression

addValueを追加する値を指定する式。

addValue
DbExpression

timeValueに追加するマイクロ秒数を指定する式。

返品

addValueで指定されたマイクロ秒数を、timeValueで指定された値に加算する新しい DbFunctionExpression。

例外

timeValue または addValuenull

timeValue または addValue が無効です。

適用対象