語言

SpatialEdmFunctions.GeometryLineFromBinary(DbExpression, DbExpression) 方法

定義

建立 DbFunctionExpression 一個,並呼叫標準的「GeometryLineFromBinary」函式,並使用指定的參數。 lineWellKnownBinaryValue 必須有二元結果類型,而 coordinateSystemId 必須有整數數值結果類型。 表達式的結果類型為Edm.Geometry。

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

參數

lineWellKnownBinaryValue
DbExpression

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

coordinateSystemId
DbExpression

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

傳回

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

適用於