SpatialEdmFunctions.GeometryFromBinary 方法

定义

创建一个 DbFunctionExpression,它调用规范 'GeometryFromBinary' 函数。Creates a DbFunctionExpression that invokes the canonical 'GeometryFromBinary' function.

重载

GeometryFromBinary(DbExpression, DbExpression)

创建使用指定参数调用规范“GeometryFromBinary”函数的 DbFunctionExpressionCreates a DbFunctionExpression that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue 的结果类型必须是二进制类型,而 coordinateSystemId 的必须是整数数值类型。wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. 表达式的结果类型为 Edm.Geometry。The result type of the expression is Edm.Geometry.

GeometryFromBinary(DbExpression)

创建一个 DbFunctionExpression,它使用指定的参数(该参数必须具有二进制结果类型)调用规范 'GeometryFromBinary' 函数。Creates a DbFunctionExpression that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. 表达式的结果类型为 Edm.Geometry。The result type of the expression is Edm.Geometry.

GeometryFromBinary(DbExpression, DbExpression)

创建使用指定参数调用规范“GeometryFromBinary”函数的 DbFunctionExpressionCreates a DbFunctionExpression that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue 的结果类型必须是二进制类型,而 coordinateSystemId 的必须是整数数值类型。wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. 表达式的结果类型为 Edm.Geometry。The result type of the expression is Edm.Geometry.

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

参数

wellKnownBinaryValue
DbExpression

提供几何图形值的知名二进制表示形式的表达式。An expression that provides the well known binary representation of the geometry value.

coordinateSystemId
DbExpression

提供几何图形值的坐标系统的坐标系统 ID (SRID) 的表达式。An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system.

返回

DbFunctionExpression

新 DbFunctionExpression 基于指定的值返回新的几何图形值。A new DbFunctionExpression that returns a new geometry value based on the specified values.

例外

wellKnownBinaryValue coordinateSystemId

wellKnownBinaryValue coordinateSystemId

适用于

GeometryFromBinary(DbExpression)

创建一个 DbFunctionExpression,它使用指定的参数(该参数必须具有二进制结果类型)调用规范 'GeometryFromBinary' 函数。Creates a DbFunctionExpression that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. 表达式的结果类型为 Edm.Geometry。The result type of the expression is Edm.Geometry.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryFromBinary(System::Data::Common::CommandTrees::DbExpression ^ wellKnownBinaryValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryFromBinary (System.Data.Common.CommandTrees.DbExpression wellKnownBinaryValue);
static member GeometryFromBinary : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromBinary (wellKnownBinaryValue As DbExpression) As DbFunctionExpression

参数

wellKnownBinaryValue
DbExpression

提供几何图形值的知名二进制表示形式的表达式。An expression that provides the well known binary representation of the geometry value.

返回

DbFunctionExpression

新 DbFunctionExpression 基于指定的二进制值返回新的几何图形值。A new DbFunctionExpression that returns a new geometry value based on the specified binary value.

例外

wellKnownBinaryValue

wellKnownBinaryValue

适用于