Example #1
0
 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>
 }
Example #2
0
 internal Employee(EmployeeTable table, int index)
 {
     this._table = table;
     this._index = index;
 }
Example #3
0
 internal Employee(EmployeeTable table) : this(table, table.Count)
 {
     table.Add();
 }
Example #4
0
 internal Employee(EmployeeTable table) : this(table, table.Add()._index)
 {
     Init();
 }