SpatialEdmFunctions.IsEmptySpatial(DbExpression) Metod

Definition

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

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

Parametrar

spatialValue
DbExpression

Ett uttryck som anger det rumsliga värde som värdet IsEmptySpatial ska hämtas från.

Returer

En ny DbFunctionExpression som returnerar ett booleskt värde som anger om spatialValue det är tomt.

Undantag

spatialValue

spatialValue

Gäller för