SpatialEdmFunctions.SpatialElementCount(DbExpression) メソッド

定義

指定した引数で正規の 'SpatialElementCount' 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は Edm.Geography または Edm.Geometry である必要があります。 式の結果型は Edm.Int32 です。

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

パラメーター

spatialValue
DbExpression

要素の数を取得する必要がある地理またはジオメトリのコレクション値を指定する式。

戻り値

spatialValue がコレクションでない場合は、spatialValue 内の要素の数または null を返す新しい DbFunctionExpression。

適用対象