SpatialEdmFunctions.SpatialUnion(DbExpression, DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische "SpatialUnion"-Funktion mit den angegebenen Argumenten aufruft, die jeweils einen Ergebnistyp "Edm.Geography" oder "Edm.Geometry" aufweisen müssen. Der Ergebnistyp muss spatialValue1 mit dem Ergebnistyp übereinstimmen.spatialValue2 Der Ergebnistyp des Ausdrucks ist identisch mit dem Typ von spatialValue1 und spatialValue2.

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

Parameter

spatialValue1
DbExpression

Ein Ausdruck, der den ersten räumlichen Wert angibt.

spatialValue2
DbExpression

Ein Ausdruck, der den räumlichen Wert angibt, für den die Union spatialValue1 berechnet werden soll.

Gibt zurück

Ein neuer DbFunctionExpression, der den räumlichen Wert zurückgibt, der die Vereinigung von spatialValue1 und .spatialValue2

Ausnahmen

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Gilt für: