Udostępnij przez


SpatialEdmFunctions.AsGml(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "AsGml" z określonym argumentem, który musi mieć typ wyniku Edm.Geography lub Edm.Geometry. Typ wyniku wyrażenia to Edm.String.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression AsGml(this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member AsGml : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AsGml (spatialValue As DbExpression) As DbFunctionExpression

Parametry

spatialValue
DbExpression

Wyrażenie określające wartość przestrzenną, z której powinna zostać utworzona reprezentacja języka GML (Geography Markup Language).

Zwraca

Nowa funkcja DbFunctionExpression zwracająca reprezentację języka GML (Geography Markup Language) elementu spatialValue.

Atrybuty

Dotyczy