DbSpatialServices.AsGml Method

Definition

Overloads

AsGml(DbGeography)

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

AsGml(DbGeometry)

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

AsGml(DbGeography)

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract string AsGml (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member AsGml : System.Data.Entity.Spatial.DbGeography -> string
Public MustOverride Function AsGml (geographyValue As DbGeography) As String

Parameters

geographyValue
DbGeography

The geography value for which the GML should be generated.

Returns

A string containing the GML representation of this DbGeography value.

Attributes

Exceptions

geographyValue is null.

geographyValue is not compatible with this spatial services implementation.

Applies to

AsGml(DbGeometry)

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract string AsGml (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member AsGml : System.Data.Entity.Spatial.DbGeometry -> string
Public MustOverride Function AsGml (geometryValue As DbGeometry) As String

Parameters

geometryValue
DbGeometry

The geometry value for which the GML should be generated.

Returns

A string containing the GML representation of this DbGeometry value.

Attributes

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to