Ejemplo n.º 1
0
 public override void AddAllObjects(List <DatabaseObjectInfo> res)
 {
     base.AddAllObjects(res);
     if (PrimaryKey != null)
     {
         PrimaryKey.AddAllObjects(res);
     }
     foreach (var x in ForeignKeys)
     {
         x.AddAllObjects(res);
     }
     foreach (var x in Columns)
     {
         x.AddAllObjects(res);
     }
     foreach (var x in Indexes)
     {
         x.AddAllObjects(res);
     }
     foreach (var x in Uniques)
     {
         x.AddAllObjects(res);
     }
     foreach (var x in Checks)
     {
         x.AddAllObjects(res);
     }
 }