Exemple #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>
 }
Exemple #2
0
 internal Company(CompanyTable table, int index)
 {
     this._table = table;
     this._index = index;
 }
Exemple #3
0
 internal Company(CompanyTable table) : this(table, table.Count)
 {
     table.Add();
 }
Exemple #4
0
 internal Company(CompanyTable table) : this(table, table.Add()._index)
 {
     Init();
 }
Exemple #5
0
 void IRow.Remap(ITable table, int index)
 {
     _table = (CompanyTable)table;
     _index = index;
 }