SpatialEdmFunctions.IsClosedSpatial(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen IsClosedSpatial med det angivna argumentet, som måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen är Edm.Boolean.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsClosedSpatial(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsClosedSpatial(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member IsClosedSpatial : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsClosedSpatial (spatialValue As DbExpression) As DbFunctionExpression

Parametrar

spatialValue
DbExpression

Ett uttryck som anger värdet för den rumsliga kurva som värdet IsClosedSpatial ska hämtas från.

Returer

En ny DbFunctionExpression som antingen returnerar ett booleskt värde som anger om spatialValue den är stängd eller null inte spatialValue är en kurva.

Undantag

spatialValue

spatialValue

Gäller för