DbDeleteCommandTree.Predicate 属性
定义
获取一个 DbExpression,它指定用于确定目标集合中应删除的成员的谓词。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
属性值
一个 DbExpression,指定用于确定目标集合中应删除的成员的谓词。An DbExpression that specifies the predicate used to determine which members of the target collection should be deleted.
注解
谓词只能包括以下元素:DbComparisonExpression(表示相等)、DbConstantExpression、DbIsNullExpression、DbPropertyExpression、DbVariableReferenceExpression(引用目标)、DbAndExpression、DbOrExpression 和 DbNotExpression。The predicate can include only the following elements: DbComparisonExpression (represents equality), DbConstantExpression, DbIsNullExpression, DbPropertyExpression, DbVariableReferenceExpression (references the target), DbAndExpression, DbOrExpression, and DbNotExpression.