SpatialEdmFunctions.AsGml(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression vyvolá kanonickou funkci AsGml se zadaným argumentem, který musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Typ výsledku výrazu je 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

Parametry

spatialValue
DbExpression

Výraz, který určuje prostorovou hodnotu, ze které se má vytvořit reprezentace jazyka GML (Geography Markup Language).

Návraty

Nový DbFunctionExpression, který vrátí reprezentaci jazyka GML (Geography Markup Language) .spatialValue

Výjimky

spatialValue

spatialValue

Platí pro