語言

SpatialEdmFunctions.IsClosedSpatial(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,能呼叫典型的「IsClosedSpatial」函數,並指定參數,該函數必須具有 Edm.Geography 或 Edm.Geometry 的結果型別。 結果類型為 Edm.Boolean。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression IsClosedSpatial(this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member IsClosedSpatial : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsClosedSpatial (spatialValue As DbExpression) As DbFunctionExpression

參數

spatialValue
DbExpression

一個表達式,指定應從中取得 IsClosedSpatial 值的空間曲線值。

傳回

一個新的 DbFunctionExpression,會回傳一個布林值,表示 spatialValue 是否封閉,或如果 spatialValue 不是曲線,則回傳 null。

適用於