SpatialEdmFunctions.IsSimpleGeometry(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,呼叫標準的「IsSimpleGeometry」函數,並指定參數,且必須有 Edm.Geometry 的結果型別。 表達式的結果類型為Edm.Boolean。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsSimpleGeometry(System::Data::Common::CommandTrees::DbExpression ^ geometryValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsSimpleGeometry(this System.Data.Common.CommandTrees.DbExpression geometryValue);
static member IsSimpleGeometry : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsSimpleGeometry (geometryValue As DbExpression) As DbFunctionExpression

參數

geometryValue
DbExpression

幾何數值。

傳回

一個新的 DbFunctionExpression,回傳一個布林值,表示是否 geometryValue 為簡單幾何。

例外狀況

geometryValue

geometryValue

適用於