Esempio n. 1
0
        public AlterPlanRunner CreateRunner()
        {
            var res = new AlterPlanRunner(Structure);

            foreach (var op in Operations)
            {
                res.Operations.Add(op.CloneForStructure(res.Structure));
            }
            foreach (var it in RecreatedItems)
            {
                res.RecreatedItems.Add(it.CloneForStructure(res.Structure));
            }
            return(res);
        }
Esempio n. 2
0
 public AlterPlanRunner CreateRunner()
 {
     var res = new AlterPlanRunner(Structure);
     foreach (var op in Operations)
     {
         res.Operations.Add(op.CloneForStructure(res.Structure));
     }
     foreach (var it in RecreatedItems)
     {
         res.RecreatedItems.Add(it.CloneForStructure(res.Structure));
     }
     return res;
 }