public SQLiteDatabase(SQLiteCommand cmd, bool getTotalRowsForEachTable) { _name = cmd.Connection.FileName; _listTable = new SQLiteTableList(cmd); _listSequence = new SQLiteSequenceList(cmd); _listIndex = new SQLiteIndexList(cmd); var tables = _listTable.ToList(); _listView = new SQLiteViewList(cmd, tables); _listTrigger = new SQLiteTriggerList(cmd, tables, _listView.ToList()); if (getTotalRowsForEachTable) { GetTotalRows(cmd); } }