public AbstractTable(AbstractDatabase db, string tableName) { OwnerDB = db; table_name_ = tableName; columns_ = new List <ColumnClass>(); col_name2num_ = new Dictionary <string, int>(); indexes_ = new List <string>(); max_col_index_ = 0; this.AddColumn("id", ColumnType.TypeInt, "not null primary key autoincrement"); }
public AbstractVirtualTable(AbstractDatabase db) : base(db, null) { rowList = new List <Row>(); }
public AbstractMasterTable(AbstractDatabase db, string tableName) : base(db, tableName) { row_cache_ = new Dictionary <int, Row>(); }