SpatialEdmFunctions.SpatialRelate Método

Definição

Cria um DbFunctionExpression que invoca a função 'SpatialRelate' canônica com os argumentos especificados, que devem ter Edm.Geometry e tipos de resultado de cadeia de caracteres. 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 de geometria.

geometryValue2
DbExpression

Uma expressão que especifica o valor de geometria que deve ser comparado com geometryValue1.

intersectionPatternMatrix
DbExpression

Uma expressão que especifica a representação de texto do padrão de interseção DE-9IM (Modelo de Nine-Intersection Estendido Dimensionalmente Estendido) usado para comparar geometryValue1 e geometryValue2.

Retornos

Um novo DbFunctionExpression que retorna um valor booliano que indica se geometryValue1 está espacialmente relacionado geometryValue2 de acordo com a relação espacial designada por intersectionPatternMatrix.

Exceções

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

Aplica-se a