DbSpatialServices.AsTextIncludingElevationAndMeasure Method
Returns a text representation of DbSpatialServices with elevation and measure.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | AsTextIncludingElevationAndMeasure(DbGeography) | Returns a text representation of DbSpatialServices with elevation and measure. |
![]() | AsTextIncludingElevationAndMeasure(DbGeometry) | Returns a text representation of DbSpatialServices with elevation and measure. |
DbSpatialServices.AsTextIncludingElevationAndMeasure Method (DbGeography)
Returns a text representation of DbSpatialServices with elevation and measure.
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.AsTextIncludingElevationAndMeasure Method (DbGeometry)
Returns a text representation of DbSpatialServices with elevation and measure.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
Return Value
Type: System.StringA text representation of DbSpatialServices with elevation and measure.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue is null. |
ArgumentException | geometryValue is not compatible with this spatial services implementation. |