DbDeleteCommandTree.Predicate Property

 

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

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

public DbExpression Predicate { get; }

Property Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

The predicate used to determine which members of the target collection should be deleted.

The predicate can include only the following elements: Equality expressionConstant expressionIsNull expressionProperty expressionReference expression to the targetAnd expressionOr expressionNot expression.