SqlSpatialServices.GetCoordinateSystemId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 override int GetCoordinateSystemId (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetCoordinateSystemId : System.Data.Entity.Spatial.DbGeography -> int
Public Overrides Function GetCoordinateSystemId (geographyValue As DbGeography) As Integer
Parameters
- geographyValue
- DbGeography
The geography value.
Returns
The coordinate system identifier of the given DbGeography value.
Applies to
GetCoordinateSystemId(DbGeometry)
Returns the coordinate system identifier of the given DbGeometry value.
public override int GetCoordinateSystemId (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetCoordinateSystemId : System.Data.Entity.Spatial.DbGeometry -> int
Public Overrides Function GetCoordinateSystemId (geometryValue As DbGeometry) As Integer
Parameters
- geometryValue
- DbGeometry
The geometry value.
Returns
The coordinate system identifier of the given DbGeometry value.
Applies to
Entity Framework