/// <summary>Constructs a QueryPageCache given an NHibernate query (either HQL or SQL) and a total row count.</summary> public QueryPageCache (NHibernate.IQuery query, int rowCount) { reader = new NHibernateQueryReader(query, rowCount); cacheByPageIndex = new MruDictionary<int, QueryPage>(2); PageSize = 1000; }
/// <summary>Constructs a QueryPageCache given an NHibernate query (either HQL or SQL) and a total row count.</summary> public QueryPageCache(NHibernate.IQuery query, int rowCount) { reader = new NHibernateQueryReader(query, rowCount); cacheByPageIndex = new MruDictionary <int, QueryPage>(2); PageSize = 1000; }