DbSpatialServices.GetIsEmpty Method
Determines whether the given value is empty.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetIsEmpty(DbGeography) | Returns a nullable Boolean value that whether the given DbGeography value is empty. |
![]() | GetIsEmpty(DbGeometry) | Returns a nullable Boolean value that whether the given DbGeometry value is empty. |
DbSpatialServices.GetIsEmpty Method (DbGeography)
Returns a nullable Boolean value that whether the given DbGeography value is empty.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value.
Exception | Condition |
---|---|
ArgumentNullException | geographyValue is null. |
ArgumentException | geographyValue is not compatible with this spatial services implementation. |
DbSpatialServices.GetIsEmpty Method (DbGeometry)
Returns a nullable Boolean value that whether the given DbGeometry value is empty.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue is null. |
ArgumentException | geometryValue is not compatible with this spatial services implementation. |