DbSpatialServices.GetIsEmpty Method

 

Determines whether the given value is empty.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodGetIsEmpty(DbGeography)

Returns a nullable Boolean value that whether the given DbGeography value is empty.

System_CAPS_pubmethodGetIsEmpty(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.

public abstract bool GetIsEmpty(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value.

Return Value

Type: System.Boolean

true if the given DbGeography value is empty; otherwise, false.

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.

public abstract bool GetIsEmpty(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value.

Return Value

Type: System.Boolean

true if the given DbGeometry value is empty; otherwise, false.

Exception Condition
ArgumentNullException

geometryValue is null.

ArgumentException

geometryValue is not compatible with this spatial services implementation.