SpatialEdmFunctions.GeographyMultiPointFromText 方法

定义

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

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

参数

multiPointWellKnownText
DbExpression

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

coordinateSystemId
DbExpression

一个表达式,该表达式提供地理多点值的坐标系的坐标系 ID(SRID)。

返回

一个新的 DbFunctionExpression,基于指定的值返回新的地理多点值。

例外

multiPointWellKnownText coordinateSystemId

multiPointWellKnownText coordinateSystemId

适用于