語言

SpatialEdmFunctions.GeometryPolygonFromBinary 方法

定義

建立 DbFunctionExpression 一個,呼叫典型的「GeometryPolygonFromBinary」函式,並符合指定的參數。 polygonWellKnownBinaryValue 必須有二元結果類型,而 coordinateSystemId 必須有整數數值結果類型。 表達式的結果類型為Edm.Geometry。

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

參數

polygonWellKnownBinaryValue
DbExpression

一個表達式,提供幾何多邊形值的二元表示。

coordinateSystemId
DbExpression

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

傳回

一個新的 DbFunctionExpression,根據指定的值回傳新的幾何多邊形值。

適用於