SpatialEdmFunctions.GeometryFromGml 方法

定义

创建一个 DbFunctionExpression 调用规范“GeometryFromGml”函数的函数。

重载

名称 说明
GeometryFromGml(DbExpression)

创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeometryFromGml”函数,该函数必须具有字符串结果类型。 表达式的结果类型为 Edm.Geometry。

GeometryFromGml(DbExpression, DbExpression)

创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeometryFromGml”函数。 geometryMarkup 必须具有字符串结果类型,而 coordinateSystemId 必须具有整数数值结果类型。 表达式的结果类型为 Edm.Geometry。

GeometryFromGml(DbExpression)

创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeometryFromGml”函数,该函数必须具有字符串结果类型。 表达式的结果类型为 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

参数

geometryMarkup
DbExpression

一个表达式,它提供几何图形值的 Geography 标记语言(GML)表示形式。

返回

一个新的 DbFunctionExpression,基于具有基础提供程序的默认坐标系 ID(SRID)的指定值返回新的几何图形值。

例外

geometryMarkup

geometryMarkup

适用于

GeometryFromGml(DbExpression, DbExpression)

创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeometryFromGml”函数。 geometryMarkup 必须具有字符串结果类型,而 coordinateSystemId 必须具有整数数值结果类型。 表达式的结果类型为 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

参数

geometryMarkup
DbExpression

一个表达式,它提供几何图形值的 Geography 标记语言(GML)表示形式。

coordinateSystemId
DbExpression

一个表达式,该表达式提供几何图形值的坐标系的坐标系 ID(SRID)。

返回

一个新的 DbFunctionExpression,基于指定的值返回新的几何图形值。

例外

geometryMarkup coordinateSystemId

geometryMarkup coordinateSystemId

适用于