SpatialEdmFunctions.SpatialRelate Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « SpatialRelate » canonique avec les arguments spécifiés, qui doivent avoir des types de résultats Edm.Geometry et de chaîne. 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 géométrique.

geometryValue2
DbExpression

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

intersectionPatternMatrix
DbExpression

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

Retours

Nouvelle DbFunctionExpression qui retourne une valeur booléenne indiquant si geometryValue1 elle est liée geometryValue2 spatialement selon la relation spatiale désignée par intersectionPatternMatrix.

Exceptions

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

S’applique à