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

定義

指定された引数で正規の Right 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は文字列と整数である必要があります。 式の結果型は文字列です。

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

パラメーター

stringArgument
DbExpression

取得元の文字列を指定する式。この文字列の右端から部分文字列が取得されます。

length
DbExpression

から stringArgument抽出する右端の部分文字列の長さを指定する式。

戻り値

からstringArgument長さのlength右端の部分文字列を返す新しい DbFunctionExpression。

例外

stringArgument または lengthnull です。

stringArgument が無効です。

適用対象