DbSpatialServices.GetBoundary Method (DbGeometry)

 

Returns a nullable double value that indicates the boundary of the given DbGeography value.

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

public abstract DbGeometry GetBoundary(
	DbGeometry geometryValue
)

Parameters

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

The geometry value.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

The boundary of the given DbGeography value.

Exception Condition
ArgumentNullException

geometryValue is null.

ArgumentException

geometryValue is not compatible with this spatial services implementation.