SpatialEdmFunctions.GeometryLineFromText(DbExpression, DbExpression) 方法

定义

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

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

参数

lineWellKnownText
DbExpression

一个表达式,它提供几何线值的已知文本表示形式。

coordinateSystemId
DbExpression

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

返回

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

例外

lineWellKnownText coordinateSystemId

lineWellKnownText coordinateSystemId

适用于