Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 public VectorRegistry()
 {
     Vectors = new MruDictionary<string, string>();
 }
Ejemplo n.º 3
0
 public VectorRegistry()
 {
     Vectors = new MruDictionary <string, string>();
 }
 public DocumentMetadataProvider()
 {
     Cache = new MruDictionary <object, DocumentMetadata>(100000);
 }