SqlSpatialServices.GetMeasure Method
Returns the M (Measure) coordinate of the given value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetMeasure(DbGeography) | Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.(Overrides DbSpatialServices.GetMeasure(DbGeography).) |
![]() | GetMeasure(DbGeometry) | Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.(Overrides DbSpatialServices.GetMeasure(DbGeometry).) |
SqlSpatialServices.GetMeasure Method (DbGeography)
Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value, which need not represent a point.
Return Value
Type: System.Nullable<Double>The M (Measure) coordinate of the given DbGeography value.
SqlSpatialServices.GetMeasure Method (DbGeometry)
Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a point.