DbDeleteCommandTree.Predicate Property

Definition

Gets an DbExpression that specifies the predicate used to determine which members of the target collection should be deleted.

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

An DbExpression that specifies the predicate used to determine which members of the target collection should be deleted.

Remarks

The predicate can include only the following elements: DbComparisonExpression (represents equality), DbConstantExpression, DbIsNullExpression, DbPropertyExpression, DbVariableReferenceExpression (references the target), DbAndExpression, DbOrExpression, and DbNotExpression.

Applies to