SpatialEdmFunctions.GeometryFromGml Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryFromGml.

Överlagringar

Name Description
GeometryFromGml(DbExpression)

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryFromGml med det angivna argumentet, som måste ha en strängresultattyp. Resultattypen för uttrycket är Edm.Geometry.

GeometryFromGml(DbExpression, DbExpression)

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryFromGml med de angivna argumenten. geometryMarkup måste ha en strängresultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är Edm.Geometry.

GeometryFromGml(DbExpression)

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryFromGml med det angivna argumentet, som måste ha en strängresultattyp. Resultattypen för uttrycket är Edm.Geometry.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryFromGml(System::Data::Common::CommandTrees::DbExpression ^ geometryMarkup);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryFromGml(System.Data.Common.CommandTrees.DbExpression geometryMarkup);
static member GeometryFromGml : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromGml (geometryMarkup As DbExpression) As DbFunctionExpression

Parametrar

geometryMarkup
DbExpression

Ett uttryck som ger representationen Geography Markup Language (GML) av geometrivärdet.

Returer

En ny DbFunctionExpression som returnerar ett nytt geometrivärde baserat på det angivna värdet med standardkoordinatsystem-ID (SRID) för den underliggande providern.

Undantag

geometryMarkup

geometryMarkup

Gäller för

GeometryFromGml(DbExpression, DbExpression)

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryFromGml med de angivna argumenten. geometryMarkup måste ha en strängresultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är Edm.Geometry.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryFromGml(System::Data::Common::CommandTrees::DbExpression ^ geometryMarkup, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryFromGml(System.Data.Common.CommandTrees.DbExpression geometryMarkup, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryFromGml : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromGml (geometryMarkup As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametrar

geometryMarkup
DbExpression

Ett uttryck som ger representationen Geography Markup Language (GML) av geometrivärdet.

coordinateSystemId
DbExpression

Ett uttryck som tillhandahåller koordinatsystem-ID (SRID) för geometrivärdets koordinatsystem.

Returer

En ny DbFunctionExpression som returnerar ett nytt geometrivärde baserat på de angivna värdena.

Undantag

geometryMarkup coordinateSystemId

geometryMarkup coordinateSystemId

Gäller för