Ejemplo n.º 1
0
        public TResult Execute <TResult>(Expression expression)
        {
            if (expression == null)
            {
                throw new ArgumentNullException(nameof(expression));
            }

            ExpressionValidator.Validate(expression);
            return(this.ExecuteOverride <TResult>(expression));
        }
Ejemplo n.º 2
0
        public IQueryable <TElement> CreateQuery <TElement>(Expression expression)
        {
            if (expression == null)
            {
                throw new ArgumentNullException(nameof(expression));
            }

            ExpressionValidator.Validate(expression);
            return(this.CreateQueryOverride <TElement>(expression));
        }