Udostępnij za pośrednictwem


DbSpatialServices.AsGml Metoda

Definicja

Przeciążenia

AsGml(DbGeography)

Generuje reprezentację tej DbGeography wartości w języku Geography Markup Language (GML).

AsGml(DbGeometry)

Generuje reprezentację tej DbGeometry wartości w języku Geography Markup Language (GML).

AsGml(DbGeography)

Generuje reprezentację tej DbGeography wartości w języku Geography Markup Language (GML).

[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

Parametry

geographyValue
DbGeography

Wartość geografii, dla której ma zostać wygenerowany kod GML.

Zwraca

Ciąg zawierający reprezentację GML tej wartości dbGeography.

Atrybuty

Wyjątki

geographyValue ma wartość null.

geographyValue jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy

AsGml(DbGeometry)

Generuje reprezentację tej DbGeometry wartości w języku Geography Markup Language (GML).

[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

Parametry

geometryValue
DbGeometry

Wartość geometryczna, dla której należy wygenerować kod GML.

Zwraca

Ciąg zawierający reprezentację GML tej wartości DbGeometry.

Atrybuty

Wyjątki

geometryValue ma wartość null.

geometryValue jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy