SpatialEdmFunctions.SpatialRelate Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'SpatialRelate' canónica con los argumentos especificados, que deben tener tipos de resultado Edm.Geometry y string. El tipo de resultado de la expresión es 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

Parámetros

geometryValue1
DbExpression

Expresión que especifica el primer valor de geometría.

geometryValue2
DbExpression

Expresión que especifica el valor de geometría que se debe comparar con geometryValue1.

intersectionPatternMatrix
DbExpression

Expresión que especifica la representación de texto del patrón de intersección Dimensionally Extended Nine-Intersection Model (DE-9IM) usado para comparar geometryValue1 y geometryValue2.

Devoluciones

Nuevo DbFunctionExpression que devuelve un valor booleano que indica si geometryValue1 está relacionado espacialmente con geometryValue2 según la relación espacial designada por intersectionPatternMatrix.

Excepciones

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

Se aplica a