SpatialEdmFunctions.SpatialOverlaps(DbExpression, DbExpression) Método

Definición

Crea un objeto DbFunctionExpression que invoca la función 'SpatialOverlaps' canónica con los argumentos especificados, que cada uno debe tener un tipo de resultado Edm.Geometry. El tipo de resultado de la expresión es Edm.Boolean.

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

Parámetros

geometryValue1
DbExpression

Una expresión que especifica el primer valor geometry.

geometryValue2
DbExpression

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

Devoluciones

Nuevo DbFunctionExpression que devuelve un valor booleano que indica si geometryValue1 se superpone espacialmente a geometryValue2.

Excepciones

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Se aplica a