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