SpatialEdmFunctions.GeographyFromGml 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GeographyFromGml(DbExpression) |
创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeographyFromGml”函数,该函数必须具有字符串结果类型。 表达式的结果类型为 Edm.Geography。 |
| GeographyFromGml(DbExpression, DbExpression) |
创建一个 DbFunctionExpression ,它使用指定的参数调用规范“GeographyFromGml”函数。 geographyMarkup 必须具有字符串结果类型,而 coordinateSystemId 必须具有整数数值结果类型。 表达式的结果类型为 Edm.Geography。 |
GeographyFromGml(DbExpression)
创建一个 DbFunctionExpression ,该函数使用指定的参数调用规范“GeographyFromGml”函数,该函数必须具有字符串结果类型。 表达式的结果类型为 Edm.Geography。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyFromGml(System.Data.Entity.Core.Common.CommandTrees.DbExpression geographyMarkup);
static member GeographyFromGml : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression) As DbFunctionExpression
参数
- geographyMarkup
- DbExpression
提供地理值的 Geography 标记语言(GML)表示形式的表达式。
返回
一个新的 DbFunctionExpression,基于具有基础提供程序的默认坐标系 ID(SRID)的指定值返回新的地理值。
- 特性
适用于
GeographyFromGml(DbExpression, DbExpression)
创建一个 DbFunctionExpression ,它使用指定的参数调用规范“GeographyFromGml”函数。 geographyMarkup 必须具有字符串结果类型,而 coordinateSystemId 必须具有整数数值结果类型。 表达式的结果类型为 Edm.Geography。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyFromGml(System.Data.Entity.Core.Common.CommandTrees.DbExpression geographyMarkup, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyFromGml : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
参数
- geographyMarkup
- DbExpression
提供地理值的 Geography 标记语言(GML)表示形式的表达式。
- coordinateSystemId
- DbExpression
一个表达式,该表达式提供地理值的坐标系的坐标系 ID(SRID)。
返回
一个新的 DbFunctionExpression,基于指定的值返回新的地理值。
- 特性