SpatialEdmFunctions.AsGml(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska "AsGml"-funktionen med det angivna argumentet, som måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen för uttrycket är Edm.String.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ AsGml(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AsGml(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member AsGml : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AsGml (spatialValue As DbExpression) As DbFunctionExpression

Parametrar

spatialValue
DbExpression

Ett uttryck som anger det rumsliga värde från vilket gml-representationen (Geography Markup Language) ska skapas.

Returer

En ny DbFunctionExpression som returnerar GML-representationen (Geography Markup Language) för spatialValue.

Undantag

spatialValue

spatialValue

Gäller för