SpatialEdmFunctions.SpatialIntersection(DbExpression, DbExpression) メソッド

定義

指定した引数で正規の 'SpatialIntersection' 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は Edm.Geography または Edm.Geometry である必要があります。 spatialValue1 の結果型と spatialValue2 の結果型は一致している必要があります。 式の結果型は spatialValue1 および spatialValue2 の型と同じです。

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

パラメーター

spatialValue1
DbExpression

1 つ目の空間値を指定する式。

spatialValue2
DbExpression

spatialValue1 との交差を計算する必要がある空間値を指定する式。

戻り値

spatialValue1spatialValue2 の交差部分を表す空間値を返す新しい DbFunctionExpression。

例外

spatialValue1 spatialValue2

spatialValue1 spatialValue2

適用対象