共用方式為


DbFilterExpression.Predicate 屬性

定義

取得或設定 DbExpression,它會指定用來篩選輸入集的述詞。

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Predicate { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Predicate { get; }
member this.Predicate : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Predicate As DbExpression

屬性值

DbExpression,它會指定用來篩選輸入集的述詞。

例外狀況

此運算式為 null

運算式與 DbFilterExpression 的命令樹沒有關聯,或其結果型別不是 Boolean 型別。

適用於