SpatialEdmFunctions.SpatialIntersection(DbExpression, DbExpression) Methode

Definition

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

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, für den die Überschneidung mit spatialValue1 berechnet werden soll.

Gibt zurück

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

Ausnahmen

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Gilt für: