SpatialEdmFunctions.GeometryLineFromText(DbExpression, DbExpression) 方法

定义

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

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

参数

lineWellKnownText
DbExpression

提供几何图形行值的知名文本表示形式的表达式。

coordinateSystemId
DbExpression

提供几何图形行值的坐标系统的坐标系统 ID (SRID) 的表达式。

返回

新 DbFunctionExpression 基于指定的值返回新的几何行值。

适用于