private QueryCompiler.CompiledQuery Find(Expression query, bool add, out object[] args) { QueryCompiler.CompiledQuery query3; QueryCompiler.CompiledQuery item = new QueryCompiler.CompiledQuery(this.Parameterize(query, out args)); this.cache.Lookup(item, add, out query3); return(query3); }
private static bool CompareQueries(QueryCompiler.CompiledQuery x, QueryCompiler.CompiledQuery y) { return(ExpressionComparer.AreEqual(x.Query, y.Query, fnCompareValues)); }