DbSpatialServices.GetStartPoint Method
Returns a start point of the given value.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetStartPoint(DbGeography) | Returns a DbGeography value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. |
![]() | GetStartPoint(DbGeometry) | Returns a DbGeometry value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. |
DbSpatialServices.GetStartPoint Method (DbGeography)
Returns a DbGeography value that represents the start 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 start point of the given DbGeography value.
Exception | Condition |
---|---|
ArgumentNullException | geographyValue is null. |
ArgumentException | geographyValue is not compatible with this spatial services implementation. |
DbSpatialServices.GetStartPoint Method (DbGeometry)
Returns a DbGeometry value that represents the start 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 start point of the given DbGeometry value.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue is null. |
ArgumentException | geometryValue is not compatible with this spatial services implementation. |