SpatialEdmFunctions.SpatialRelate Metoda

Definice

Vytvoří DbFunctionExpression , který vyvolá kanonickou funkci SpatialRelate se zadanými argumenty, které musí mít Edm.Geometry a typy výsledků řetězce. Typ výsledku výrazu je 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

Parametry

geometryValue1
DbExpression

Výraz, který určuje první hodnotu geometrie.

geometryValue2
DbExpression

Výraz, který určuje hodnotu geometrie, která by měla být porovnána s geometryValue1.

intersectionPatternMatrix
DbExpression

Výraz, který určuje formát průniku dimenzionálního rozšířeného modelu Nine-Intersection (DE-9IM) použitého k porovnání geometryValue1 a geometryValue2.

Návraty

Nový DbFunctionExpression, který vrátí logickou hodnotu označující, zda geometryValue1 je prostorově související s geometryValue2 podle prostorového vztahu určeného intersectionPatternMatrix.

Výjimky

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

Platí pro