SpatialEdmFunctions.SpatialWithin(DbExpression, DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'SpatialWithin' canónica con los argumentos especificados, que deben 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 ^ SpatialWithin(System::Data::Common::CommandTrees::DbExpression ^ geometryValue1, System::Data::Common::CommandTrees::DbExpression ^ geometryValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialWithin(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialWithin : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialWithin (geometryValue1 As DbExpression, geometryValue2 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.

Devoluciones

Nuevo DbFunctionExpression que devuelve un valor booleano que indica si geometryValue1 está espacialmente dentro de geometryValue2.

Excepciones

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Se aplica a