SpatialEdmFunctions.GeographyPointFromBinary 方法

定义

创建使用指定参数调用规范“GeographyPointFromBinary”函数的 DbFunctionExpression。 pointWellKnownBinaryValue 必须具有二进制结果类型,而坐标SystemId 必须具有整数数值结果类型。 表达式的结果类型为 Edm.Geography。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyPointFromBinary(System.Data.Entity.Core.Common.CommandTrees.DbExpression pointWellKnownBinaryValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPointFromBinary : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPointFromBinary (pointWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

参数

pointWellKnownBinaryValue
DbExpression

提供地理点值的知名二进制表示形式的表达式。

coordinateSystemId
DbExpression

提供地理点值的坐标 systempointWellKnownBinaryValue 的坐标系统 ID (SRID) 的表达式。

返回

新 DbFunctionExpression 基于指定的值返回新的地理点值。

适用于