SpatialEdmFunctions.SpatialIntersects(DbExpression, DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische "SpatialIntersects"-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 Edm.Boolean.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialIntersects(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialIntersects(this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialIntersects : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialIntersects (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, der für spatialValue1 die Schnittmenge verglichen werden soll.

Gibt zurück

Ein neuer DbFunctionExpression-Wert, der einen booleschen Wert zurückgibt, der angibt, ob spatialValue1 und spatialValue2 überschneidet.

Ausnahmen

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Gilt für: