Partager via


SpatialEdmFunctions.SpatialOverlaps(DbExpression, DbExpression) Méthode

Définition

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialOverlaps (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialOverlaps : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialOverlaps (geometryValue1 As DbExpression, geometryValue2 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.

Retours

Nouvelle DbFunctionExpression qui renvoie une valeur booléenne indiquant si geometryValue1 chevauche spatialement geometryValue2.

S’applique à