SpatialEdmFunctions.SpatialDisjoint(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen SpatialDisjoint med de angivna argumenten, som var och en måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen spatialValue1 måste matcha resultattypen spatialValue2för . Resultattypen för uttrycket är Edm.Boolean.

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

Parametrar

spatialValue1
DbExpression

Ett uttryck som anger det första rumsliga värdet.

spatialValue2
DbExpression

Ett uttryck som anger det rumsliga värde som ska jämföras med spatialValue1 för osammanhängande.

Returer

En ny DbFunctionExpression som returnerar ett booleskt värde som anger om spatialValue1 och spatialValue2 är rumsligt åtskilda.

Undantag

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Gäller för