Inheritance: IForeignKeySchema
Ejemplo n.º 1
0
 public void AddFK(ForeignKeySchema fk)
 {
     fks.Add(fk);
     (fk.OtherTable as TableSchema).children.Add(new ForeignKeySchema {
         OtherTable = this, OtherKey = fk.ThisKey, ThisTable = fk.OtherTable, ThisKey = fk.OtherKey
     });
 }
Ejemplo n.º 2
0
 public void AddFK(ForeignKeySchema fk)
 {
     fks.Add(fk);
     (fk.OtherTable as TableSchema).children.Add(new ForeignKeySchema { OtherTable = this, OtherKey = fk.ThisKey, ThisTable = fk.OtherTable, ThisKey = fk.OtherKey });
 }