SpatialEdmFunctions.SpatialRelate メソッド

定義

指定した引数を使用して正規の 'SpatialRelate' 関数を呼び出す DbFunctionExpression を作成します。Edm.Geometry と文字列の結果型が必要です。 式の結果の型は Edm.Boolean です。

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

パラメーター

geometryValue1
DbExpression

最初のジオメトリ値を指定する式。

geometryValue2
DbExpression

geometryValue1と比較する必要があるジオメトリ値を指定する式。

intersectionPatternMatrix
DbExpression

geometryValue1geometryValue2を比較するために使用される、次元拡張 Nine-Intersection モデル (DE-9IM) 交差パターンのテキスト表現を指定する式。

返品

geometryValue1によって指定された空間リレーションシップに従って、geometryValue2intersectionPatternMatrixに空間的に関連しているかどうかを示すブール値を返す新しい DbFunctionExpression。

例外

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

適用対象