public int GetCount(string table) { int index = 0; if (currIndex.TryGetValue(table, out index)) { return(index); } return(dbList.GetCount(table)); }