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; }
public virtual void ChangeStructure(DatabaseInfo s) { if (ParentTable != null) { ParentTable = s.FindByGroupId(ParentTable.GroupId) as TableInfo; } }
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); }
public override void ChangeStructure(DatabaseInfo s) { base.ChangeStructure(s); OldObject = s.FindByGroupId(OldObject.GroupId) as DatabaseObjectInfo; }
public virtual void ChangeStructure(DatabaseInfo s) { if (ParentTable != null) ParentTable = s.FindByGroupId(ParentTable.GroupId) as TableInfo; }
public override void ChangeStructure(DatabaseInfo s) { base.ChangeStructure(s); OldObject = s.FindByGroupId(OldObject.GroupId) as DatabaseObjectInfo; }