SpatialEdmFunctions.SpatialIntersects(DbExpression, DbExpression) Método

Definição

Cria uma DbFunctionExpression que invoca a função "SpatialIntersects" canônica com os argumentos especificados, os quais devem ter um tipo de resultado Edm.Geography ou Edm.Geometry. O tipo de resultado de spatialValue1 deve corresponder ao tipo de resultado de spatialValue2. O tipo de resultado da expressão é Edm.Boolean.

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

Parâmetros

spatialValue1
DbExpression

Uma expressão que especifica o primeiro valor espacial.

spatialValue2
DbExpression

Uma expressão que especifica o valor espacial que deve ser comparado com spatialValue1 quanto à interseção.

Retornos

Uma nova DbFunctionExpression que retorna um valor booliano que indica se spatialValue1 e spatialValue2 se interseccionam.

Exceções

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Aplica-se a