public override ICriterion AllMethod(AllMethod method, Expression[] arguments)
        {
            if (arguments.Length != 2 || arguments[0].Type != ExpressionType.ResolvedMember || arguments[1].Type != ExpressionType.Lambda)
            {
                return(base.AllMethod(method, arguments));
            }

            return(CreateAnyOrAllCriterion(method, (ResolvedMemberExpression)arguments[0], (LambdaExpression)arguments[1]));
        }
示例#2
0
 public Expression AllMethod(AllMethod method, LiteralExpression[] arg)
 {
     throw new QueryNotSupportException();
 }
 public virtual TResult AllMethod(AllMethod method, Expression[] arg)
 {
     throw new QueryNotSupportException();
 }