예제 #1
0
 public RecreatedItem CloneForStructure(DatabaseInfo s)
 {
     var res = new RecreatedItem();
     res.RecreatedObject = s.FindByGroupId(RecreatedObject.GroupId);
     if (NewVersion != null) res.NewVersion = NewVersion.CloneObject(null);
     return res;
 }
예제 #2
0
 public virtual void ChangeStructure(DatabaseInfo s)
 {
     if (ParentTable != null)
     {
         ParentTable = s.FindByGroupId(ParentTable.GroupId) as TableInfo;
     }
 }
예제 #3
0
        public RecreatedItem CloneForStructure(DatabaseInfo s)
        {
            var res = new RecreatedItem();

            res.RecreatedObject = s.FindByGroupId(RecreatedObject.GroupId);
            if (NewVersion != null)
            {
                res.NewVersion = NewVersion.CloneObject(null);
            }
            return(res);
        }
예제 #4
0
 public override void ChangeStructure(DatabaseInfo s)
 {
     base.ChangeStructure(s);
     OldObject = s.FindByGroupId(OldObject.GroupId) as DatabaseObjectInfo;
 }
예제 #5
0
파일: AlterOps.cs 프로젝트: dbshell/dbshell
 public virtual void ChangeStructure(DatabaseInfo s)
 {
     if (ParentTable != null) ParentTable = s.FindByGroupId(ParentTable.GroupId) as TableInfo;
 }
예제 #6
0
파일: AlterOps.cs 프로젝트: dbshell/dbshell
 public override void ChangeStructure(DatabaseInfo s)
 {
     base.ChangeStructure(s);
     OldObject = s.FindByGroupId(OldObject.GroupId) as DatabaseObjectInfo;
 }