語言

SpatialEdmFunctions.GeometryCollectionFromBinary 方法

定義

建立 DbFunctionExpression 一個,能呼叫典型的「GeometryCollectionFromBinary」函式,並指定參數。 geometryCollectionWellKnownBinaryValue 必須具有二進位結果型態,而 coordinateSystemId 必須具有整數數值結果型態。 表達式的結果類型為Edm.Geometry。

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

參數

geometryCollectionWellKnownBinaryValue
DbExpression

一個表達式,提供眾所周知的幾何集合值的二進位表示。

coordinateSystemId
DbExpression

一個表示式,提供幾何集合值座標系的座標系 ID(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳新的幾何集合值。

適用於