SpatialEdmFunctions.GeographyPolygonFromText 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建使用指定参数调用规范“GeographyPolygonFromText”函数的 DbFunctionExpression。 polygonWellKnownText 必须具有字符串结果类型,而坐标SystemId 必须具有整数数值结果类型。 表达式的结果类型为 Edm.Geography。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyPolygonFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression polygonWellKnownText, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPolygonFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPolygonFromText (polygonWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
参数
- polygonWellKnownText
- DbExpression
提供地理边值的知名文本表示形式的表达式。
- coordinateSystemId
- DbExpression
提供地理边值的坐标系统的坐标系统 ID (SRID) 的表达式。
返回
新 DbFunctionExpression 基于指定的值返回新的地理多边形值。