public override void GetOrBuildTables() { // <TableConstructorList> Company = GetOrBuild(nameof(Company), () => new CompanyTable(this)); Employee = GetOrBuild(nameof(Employee), () => new EmployeeTable(this)); // <TableConstructor> Team = GetOrBuild(nameof(Team), () => new TeamTable(this)); // </TableConstructor> // </TableConstructorList> }
internal Employee(EmployeeTable table, int index) { this._table = table; this._index = index; }
internal Employee(EmployeeTable table) : this(table, table.Count) { table.Add(); }
internal Employee(EmployeeTable table) : this(table, table.Add()._index) { Init(); }