public void Change(GujiChangeInfo changeInfo) { Guji guji = changeInfo.Guji; GujiChangeInfo backupChangeInfo = new GujiChangeInfo(guji); try { guji.Change(changeInfo); this._dataManager.GujiDataProvider.Update(guji); } catch { guji.Change(backupChangeInfo); throw; } }
public void Change(GujiChangeInfo changeInfo) { this.SetInfo(changeInfo); }