SqlSpatialServices.AsGml Method
Generates the Geography Markup Language (GML) representation of a specified value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | AsGml(DbGeography) | Generates the Geography Markup Language (GML) representation of this DbGeography value.(Overrides DbSpatialServices.AsGml(DbGeography).) |
![]() | AsGml(DbGeometry) | Generates the Geography Markup Language (GML) representation of this DbGeometry value.(Overrides DbSpatialServices.AsGml(DbGeometry).) |
SqlSpatialServices.AsGml Method (DbGeography)
Generates the Geography Markup Language (GML) representation of this DbGeography value.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value for which the GML should be generated.
Return Value
Type: System.StringA string containing the GML representation of this DbGeography value.
SqlSpatialServices.AsGml Method (DbGeometry)
Generates the Geography Markup Language (GML) representation of this DbGeometry value.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value for which the GML should be generated.
Return Value
Type: System.StringA string containing the GML representation of this DbGeometry value.