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