EdmFunctions.Length(DbExpression) メソッド

定義

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Length (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument);
static member Length : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Length (stringArgument As DbExpression) As DbFunctionExpression

パラメーター

stringArgument
DbExpression

長さの計算対象となる文字列を指定する式。

戻り値

stringArgument の長さを返す新しい DbFunctionExpression。

適用対象