Partager via


SpatialEdmFunctions.SpatialUnion(DbExpression, DbExpression) Méthode

Définition

Crée une DbFunctionExpression appelant la fonction « SpatialUnion » canonique avec les arguments spécifiés, qui doivent chacun avoir un résultat de type Edm.Geography ou Edm.Geometry. Le type de résultat de spatialValue1 doit correspondre au type de résultat spatialValue2. Le type de résultat de l’expression est le même que celui de spatialValue1 et spatialValue2.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialUnion (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialUnion : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialUnion (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression

Paramètres

spatialValue1
DbExpression

Expression qui spécifie la première valeur spatiale.

spatialValue2
DbExpression

Expression qui spécifie la valeur spatiale dont l’union avec spatialValue1 doit être calculée.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur spatiale représentant l’union de spatialValue1 et spatialValue2.

S’applique à