SpatialEdmFunctions.SpatialIntersection(DbExpression, DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische "SpatialIntersection"-Funktion mit den angegebenen Argumenten aufruft, die jeweils über einen Edm.Geography- oder Edm.Geometry-Ergebnistyp verfügen 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 ^ SpatialIntersection(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialIntersection(this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialIntersection : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialIntersection (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, mit dem die Schnittmenge spatialValue1 berechnet werden soll.

Gibt zurück

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

Ausnahmen

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Gilt für: