예제 #1
0
 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();
 }
예제 #2
0
        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));
        }
예제 #3
0
        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));
        }