SpatialEdmFunctions.SpatialIntersection(DbExpression, DbExpression) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した引数を使用して正規の '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
最初の空間値を指定する式。
- spatialValue2
- DbExpression
spatialValue1との交差を計算する空間値を指定する式。
返品
spatialValue1とspatialValue2の交差部分を表す空間値を返す新しい DbFunctionExpression。
例外
spatialValue1
spatialValue2
spatialValue1
spatialValue2