Edit

Share via


DbFilterExpression.Predicate Property

Definition

Gets or sets the DbExpression that specifies the predicate used to filter the input set.

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

Property Value

The DbExpression that specifies the predicate used to filter the input set.

Exceptions

The expression is null.

The expression is not associated with the command tree of the DbFilterExpression, or its result type is not a Boolean type.

Applies to