SpatialEdmFunctions.SpatialUnion(DbExpression, DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie SpatialUnion aanroept met de opgegeven argumenten, die elk een resultaattype Edm.Geography of Edm.Geometry moeten hebben. Het resultaattype spatialValue1 moet overeenkomen met het resultaattype van spatialValue2. Het resultaattype van de expressie is hetzelfde als het type spatialValue1 en 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

Parameters

spatialValue1
DbExpression

Een expressie die de eerste ruimtelijke waarde aangeeft.

spatialValue2
DbExpression

Een expressie die de ruimtelijke waarde aangeeft waarmee de samenvoeging spatialValue1 moet worden berekend.

Retouren

Een nieuwe DbFunctionExpression die de ruimtelijke waarde retourneert die de samenvoeging van spatialValue1 en spatialValue2.

Uitzonderingen

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Van toepassing op