SpatialEdmFunctions.GeographyFromGml Método

Definição

Cria uma DbFunctionExpression que invoca a função "GeographyFromGml" canônica.Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function.

Sobrecargas

GeographyFromGml(DbExpression)

Cria uma DbFunctionExpression que invoca a função "GeographyFromGml" canônica com o argumento especificado, que deve ter um tipo de resultado de cadeia de caracteres.Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. O tipo de resultado da expressão é Edm.Geography.The result type of the expression is Edm.Geography.

GeographyFromGml(DbExpression, DbExpression)

Cria uma DbFunctionExpression que invoca a função "GeographyFromGml" canônica com os argumentos especificados.Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup deve ter um tipo de resultado de cadeia de caracteres, enquanto coordinateSystemId deve ter um tipo de resultado numérico inteiro.geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. O tipo de resultado da expressão é Edm.Geography.The result type of the expression is Edm.Geography.

GeographyFromGml(DbExpression)

Cria uma DbFunctionExpression que invoca a função "GeographyFromGml" canônica com o argumento especificado, que deve ter um tipo de resultado de cadeia de caracteres.Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. O tipo de resultado da expressão é Edm.Geography.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

Parâmetros

geographyMarkup
DbExpression

Uma expressão que fornece a representação de GML (Geography Markup Language) do valor de geografia.An expression that provides the Geography Markup Language (GML) representation of the geography value.

Retornos

DbFunctionExpression

Uma nova DbFunctionExpression que retorna um novo valor de geografia com base no valor especificado com a SRID (ID do sistema de coordenadas) padrão do provedor subjacente.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.

Exceções

geographyMarkup

geographyMarkup

Aplica-se a

GeographyFromGml(DbExpression, DbExpression)

Cria uma DbFunctionExpression que invoca a função "GeographyFromGml" canônica com os argumentos especificados.Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup deve ter um tipo de resultado de cadeia de caracteres, enquanto coordinateSystemId deve ter um tipo de resultado numérico inteiro.geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. O tipo de resultado da expressão é Edm.Geography.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

Parâmetros

geographyMarkup
DbExpression

Uma expressão que fornece a representação de GML (Geography Markup Language) do valor de geografia.An expression that provides the Geography Markup Language (GML) representation of the geography value.

coordinateSystemId
DbExpression

Uma expressão que fornece a SRID (ID do sistema de coordenadas) do sistema de coordenadas do valor de geografia.An expression that provides the coordinate system id (SRID) of the geography value's coordinate system.

Retornos

DbFunctionExpression

Uma nova DbFunctionExpression que retorna um novo valor de geografia com base nos valores especificados.A new DbFunctionExpression that returns a new geography value based on the specified values.

Exceções

geographyMarkup coordinateSystemId

geographyMarkup coordinateSystemId

Aplica-se a