DbSpatialServices.GetCoordinateSystemId Method

 

Returns the coordinate system identifier of the given value.

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

NameDescription
System_CAPS_pubmethodGetCoordinateSystemId(DbGeography)

Returns the coordinate system identifier of the given DbGeography value.

System_CAPS_pubmethodGetCoordinateSystemId(DbGeometry)

Returns the coordinate system identifier of the given DbGeometry value.


DbSpatialServices.GetCoordinateSystemId Method (DbGeography)

Returns the coordinate system identifier of the given DbGeography value.

public abstract int GetCoordinateSystemId(
	DbGeography geographyValue
)

Parameters

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

The geography value.

Return Value

Type: System.Int32

The coordinate system identifier of the given DbGeography value.

Exception Condition
ArgumentNullException

geographyValue is null.

ArgumentException

geographyValue is not compatible with this spatial services implementation.


DbSpatialServices.GetCoordinateSystemId Method (DbGeometry)

Returns the coordinate system identifier of the given DbGeometry value.

public abstract int GetCoordinateSystemId(
	DbGeometry geometryValue
)

Parameters

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

The geometry value.

Return Value

Type: System.Int32

The coordinate system identifier of the given DbGeometry value.

Exception Condition
ArgumentNullException

geometryValue is null.

ArgumentException

geometryValue is not compatible with this spatial services implementation.