SqlSpatialServices.AsGml Method

 

Generates the Geography Markup Language (GML) representation of a specified value.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodAsGml(DbGeography)

Generates the Geography Markup Language (GML) representation of this DbGeography value.(Overrides DbSpatialServices.AsGml(DbGeography).)

System_CAPS_pubmethodAsGml(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.

public override string AsGml(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value for which the GML should be generated.

Return Value

Type: System.String

A string containing the GML representation of this DbGeography value.


SqlSpatialServices.AsGml Method (DbGeometry)

Generates the Geography Markup Language (GML) representation of this DbGeometry value.

public override string AsGml(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value for which the GML should be generated.

Return Value

Type: System.String

A string containing the GML representation of this DbGeometry value.