SpatialEdmFunctions.SpatialWithin(DbExpression, DbExpression) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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