Share via


DbSpatialServices.GetCoordinateSystemId Method

Definition

Overloads

GetCoordinateSystemId(DbGeography)

Returns the coordinate system identifier of the given DbGeography value.

GetCoordinateSystemId(DbGeometry)

Returns the coordinate system identifier of the given DbGeometry value.

GetCoordinateSystemId(DbGeography)

Returns the coordinate system identifier of the given DbGeography value.

public abstract int GetCoordinateSystemId (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetCoordinateSystemId : System.Data.Entity.Spatial.DbGeography -> int
Public MustOverride Function GetCoordinateSystemId (geographyValue As DbGeography) As Integer

Parameters

geographyValue
DbGeography

The geography value.

Returns

The coordinate system identifier of the given DbGeography value.

Exceptions

geographyValue is null.

geographyValue is not compatible with this spatial services implementation.

Applies to

GetCoordinateSystemId(DbGeometry)

Returns the coordinate system identifier of the given DbGeometry value.

public abstract int GetCoordinateSystemId (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetCoordinateSystemId : System.Data.Entity.Spatial.DbGeometry -> int
Public MustOverride Function GetCoordinateSystemId (geometryValue As DbGeometry) As Integer

Parameters

geometryValue
DbGeometry

The geometry value.

Returns

The coordinate system identifier of the given DbGeometry value.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to