SpatialEdmFunctions.SpatialWithin(DbExpression, DbExpression) Método

Definição

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

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.

Retornos

Um novo DbFunctionExpression que retorna um valor booliano que indica se geometryValue1 está espacialmente dentro geometryValue2.

Exceções

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Aplica-se a