internal InDbTableDef(InDbDatabase db, string tableName, bool isNew) { this.FDb = db; this.FieldDefs = new InDbFieldDefs(this.FDb); this.FFieldDefsToDelete = new InDbFieldDefs(this.FDb); this.IndexDefs = new InDbIndexDefs(this.FDb); this.FIndexDefsToDelete = new InDbIndexDefs(this.FDb); this.FModifiedIndexDefs = new InDbIndexDefs(this.FDb); this.Name = tableName; if (isNew) { return; } this.OriginalName = tableName; }
internal InDbFieldDefs(InDbDatabase db) => this.FDb = db;
internal InDbIndexDefs(InDbDatabase db) => this.FDb = db;