SpatialEdmFunctions.GeographyCollectionFromBinary 方法

定义

创建使用指定参数调用规范“GeographyCollectionFromBinary”函数的 DbFunctionExpressiongeographyCollectionWellKnownBinaryValue 的结果类型必须是二进制类型,而 coordinateSystemId 的必须是整数数值类型。 表达式的结果类型为 Edm.Geography。

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

参数

geographyCollectionWellKnownBinaryValue
DbExpression

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

coordinateSystemId
DbExpression

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

返回

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

例外

geographyCollectionWellKnownBinaryValue coordinateSystemId

geographyCollectionWellKnownBinaryValue coordinateSystemId

适用于