SpatialEdmFunctions.SpatialWithin(DbExpression, DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « SpatialWithin » canonique avec les arguments spécifiés, qui doivent chacun avoir un type de résultat Edm.Geometry. Le type de résultat de l’expression est 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

Paramètres

geometryValue1
DbExpression

Expression qui spécifie la première valeur géométrique.

geometryValue2
DbExpression

Expression qui spécifie la valeur geometry à comparer à geometryValue1.

Retours

Nouvelle DbFunctionExpression qui retourne une valeur booléenne indiquant si geometryValue1 elle est spatialement dans geometryValue2.

Exceptions

geometryValue1 geometryValue2

geometryValue1 geometryValue2

S’applique à