SqlSpatialServices.GetEndPoint Method
Returns the endpoint of the specified value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetEndPoint(DbGeography) | Returns a DbGeography value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetEndPoint(DbGeography).) |
![]() | GetEndPoint(DbGeometry) | Returns a DbGeometry value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetEndPoint(DbGeometry).) |
SqlSpatialServices.GetEndPoint Method (DbGeography)
Returns a DbGeography value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value, which need not represent a curve.
Return Value
Type: System.Data.Entity.Spatial.DbGeographyThe end point of geographyValue, if it represents a curve; otherwise, null.
SqlSpatialServices.GetEndPoint Method (DbGeometry)
Returns a DbGeometry value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a curve.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryThe end point of geometryValue, if it represents a curve; otherwise, null.