語言

SpatialEdmFunctions.GeographyPointFromBinary 方法

定義

建立 DbFunctionExpression 一個,能呼叫典型的「GeographyPointFromBinary」函式,並指定參數。 pointWellKnownBinaryValue 必須具有二元結果型態,而 coordinateSystemId 必須具有整數數值結果型態。 該表達式的結果類型為 Edm.地理。

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

一個表達式,提供地理點值座標系 PointWellKnownBinaryValue 的座標系 ID(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳一個新的地理點數值。

適用於