Share via


DbSpatialServices.GetIsEmpty Method

Definition

Overloads

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.

GetIsEmpty(DbGeography)

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

public abstract bool GetIsEmpty (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetIsEmpty : System.Data.Entity.Spatial.DbGeography -> bool
Public MustOverride Function GetIsEmpty (geographyValue As DbGeography) As Boolean

Parameters

geographyValue
DbGeography

The geography value.

Returns

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

Exceptions

geographyValue is null.

geographyValue is not compatible with this spatial services implementation.

Applies to

GetIsEmpty(DbGeometry)

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

public abstract bool GetIsEmpty (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsEmpty : System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function GetIsEmpty (geometryValue As DbGeometry) As Boolean

Parameters

geometryValue
DbGeometry

The geometry value.

Returns

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

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to