SpatialEdmFunctions.IsClosedSpatial(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie IsClosedSpatial aanroept met het opgegeven argument, dat een resultaattype Edm.Geography of Edm.Geometry moet hebben. Het resultaattype is 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

Parameters

spatialValue
DbExpression

Een expressie die de ruimtelijke curvewaarde aangeeft waaruit de IsClosedSpatial-waarde moet worden opgehaald.

Retouren

Een nieuwe DbFunctionExpression die een Booleaanse waarde retourneert die aangeeft of spatialValue deze is gesloten of null als spatialValue het geen curve is.

Uitzonderingen

spatialValue

spatialValue

Van toepassing op