예제 #1
0
        public PomonaResponse ApplyAndExecute(IQueryable queryable, PomonaQuery pq)
        {
            lock (this.syncLock)
            {
                this.queryLog.Add(pq);

                var visitor = new MakeDictAccessesSafeVisitor();
                pq.FilterExpression = (LambdaExpression)visitor.Visit(pq.FilterExpression);

                var throwOnCalculatedPropertyVisitor = new ThrowOnCalculatedPropertyVisitor();
                throwOnCalculatedPropertyVisitor.Visit(pq.FilterExpression);

                return(pq.ApplyAndExecute(queryable));
            }
        }
예제 #2
0
 public virtual PomonaResponse ApplyAndExecute(IQueryable queryable, PomonaQuery query)
 {
     return query.ApplyAndExecute(queryable);
 }
예제 #3
0
 public virtual PomonaResponse ApplyAndExecute(IQueryable queryable, PomonaQuery query)
 {
     return(query.ApplyAndExecute(queryable));
 }
예제 #4
0
 public PomonaResponse ApplyAndExecute(IQueryable queryable, PomonaQuery query)
 {
     return(this.store.ApplyAndExecute(queryable, query));
 }