DbSpatialServices.GetCoordinateSystemId Method
Returns the coordinate system identifier of the given value.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetCoordinateSystemId(DbGeography) | Returns the coordinate system identifier of the given DbGeography value. |
![]() | GetCoordinateSystemId(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.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography 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.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue is null. |
ArgumentException | geometryValue is not compatible with this spatial services implementation. |