SpatialEdmFunctions.SpatialRelate Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction « SpatialRelate » canonique avec les arguments spécifiés, qui doivent avoir chacun un résultat de type chaîne et Edm.Geometry. Le type de résultat de l'expression est Edm.Boolean.

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

Paramètres

geometryValue1
DbExpression

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

geometryValue2
DbExpression

Expression qui spécifie la valeur géométrique qui doit être comparée à geometryValue1.

intersectionPatternMatrix
DbExpression

Expression qui spécifie la représentation textuelle du modèle d'intersection DE-9IM (Dimensionally Extended Nine-Intersection Model) utilisée pour comparer geometryValue1 et geometryValue2.

Retours

Nouvelle DbFunctionExpression qui retourne une valeur booléenne indiquant si geometryValue1 est reliée de façon spatiale à geometryValue2 en fonction de la relation spatiale désignée par intersectionPatternMatrix.

Exceptions

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

S’applique à