SpatialEdmFunctions.GeographyMultiPolygonFromBinary(DbExpression, DbExpression) 方法
定义
创建使用指定参数调用规范“GeographyMultiPolygonFromBinary”函数的 DbFunctionExpression。Creates a DbFunctionExpression that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue 的结果类型必须是二进制类型,而 coordinateSystemId 的必须是整数数值类型。multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. 表达式的结果类型为 Edm.Geography。The result type of the expression is Edm.Geography.
public:
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyMultiPolygonFromBinary(System::Data::Common::CommandTrees::DbExpression ^ multiPolygonWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyMultiPolygonFromBinary (System.Data.Common.CommandTrees.DbExpression multiPolygonWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyMultiPolygonFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyMultiPolygonFromBinary (multiPolygonWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
参数
- multiPolygonWellKnownBinaryValue
- DbExpression
提供地理多边值的知名二进制表示形式的表达式。An expression that provides the well known binary representation of the geography multi-polygon value.
- coordinateSystemId
- DbExpression
提供地理多边值的坐标系统的坐标系统 ID (SRID) 的表达式。An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system.
返回
新 DbFunctionExpression 基于指定的值返回新的地理多边形值。A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values.
例外
multiPolygonWellKnownBinaryValue
coordinateSystemId
multiPolygonWellKnownBinaryValue
coordinateSystemId