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

定義

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Substring (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression start, System.Data.Entity.Core.Common.CommandTrees.DbExpression length);
static member Substring : 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
<Extension()>
Public Function Substring (stringArgument As DbExpression, start As DbExpression, length As DbExpression) As DbFunctionExpression

パラメーター

stringArgument
DbExpression

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

start
DbExpression

取得する部分文字列の開始インデックスを指定する式。

length
DbExpression

部分文字列の長さを指定する式。

戻り値

開始位置から stringArgument の長さの部分文字列を返す新しい DbFunctionExpression。

適用対象