コード例 #1
0
        protected override DbExpression VisitUnary_Not(UnaryExpression exp)
        {
            // !true   !b
            DbNotExpression e = DbExpression.Not(this.Visit(BooleanResultExpressionTransformer.Transform((exp.Operand))));

            return(e);
        }
コード例 #2
0
 public DbExpression ParseFilterPredicate(LambdaExpression filterPredicate)
 {
     return(this.Visit(BooleanResultExpressionTransformer.Transform(filterPredicate)));
 }