SpatialEdmFunctions.GeographyPointFromText(DbExpression, DbExpression) 方法

定义

创建一个 DbFunctionExpression,它使用指定的参数调用规范形式的 'GeographyPointFromText' 函数。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyPointFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression pointWellKnownText, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPointFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPointFromText (pointWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

参数

pointWellKnownText
DbExpression

提供地理点值的知名文本表示形式的表达式。

coordinateSystemId
DbExpression

提供地理点值的坐标 systempointWellKnownTextValue 的坐标系统 ID (SRID) 的表达式。

返回

规范的“GeographyPointFromText”函数。

适用于