Bewerken

Share via


SpatialEdmFunctions.GeographyFromGml Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function.

Overloads

GeographyFromGml(DbExpression)

Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography.

GeographyFromGml(DbExpression, DbExpression)

Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography.

GeographyFromGml(DbExpression)

Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography.

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

Parameters

geographyMarkup
DbExpression

An expression that provides the Geography Markup Language (GML) representation of the geography value.

Returns

A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider.

Exceptions

geographyMarkup

geographyMarkup

Applies to

GeographyFromGml(DbExpression, DbExpression)

Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography.

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

Parameters

geographyMarkup
DbExpression

An expression that provides the Geography Markup Language (GML) representation of the geography value.

coordinateSystemId
DbExpression

An expression that provides the coordinate system id (SRID) of the geography value's coordinate system.

Returns

A new DbFunctionExpression that returns a new geography value based on the specified values.

Exceptions

geographyMarkup coordinateSystemId

geographyMarkup coordinateSystemId

Applies to