public JoinEntity(Enums.JoinType joinType, TableEntity mainTable, TableEntity childTable) { this.joinType = joinType; this.joinPairs = new List <ColumnPairEntity>(); this.mainTable = mainTable; this.childTable = childTable; this.coords = new GUICoordsEntity(); }
public TableEntity(String tableName, Enums.TableType tableType) { this.tableName = tableName; this.tableSchema = "SCHEMA"; this.coords = new GUICoordsEntity(); this.tableType = tableType; this.tableColumns.Add(new ColumnEntity("ID", "NUMBER", 12, true)); }
public TableEntity(Enums.TableType tableType) { this.tableName = "TABLE_NEW" + new Random().Next(10, 99); this.tableSchema = "SCHEMA"; this.tableName = this.tableName.ToUpper().Trim(); this.coords = new GUICoordsEntity(); this.tableType = tableType; this.tableColumns.Add(new ColumnEntity("ID", "NUMBER", 12, true)); }