SpatialEdmFunctions.SpatialRelate Método

Definição

Cria um DbFunctionExpression que invoca a função canónica 'SpatialRelate' com os argumentos especificados, que devem ter Edm.Geometry e tipos de resultados de string. O tipo de resultado da expressão é 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

Uma expressão que especifica o primeiro valor geométrico.

geometryValue2
DbExpression

Uma expressão que especifica o valor geométrico que deve ser comparado com geometryValue1.

intersectionPatternMatrix
DbExpression

Uma expressão que especifica a representação textual do padrão de interseção Dimensionally Extended Nine-Intersection Model (DE-9IM) usado para comparar geometryValue1 e geometryValue2.

Devoluções

Uma nova DbFunctionExpression que devolve um valor booleano indicando se geometryValue1 está espacialmente relacionada com geometryValue2 de acordo com a relação espacial designada por intersectionPatternMatrix.

Exceções

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

Aplica-se a