private void OnDepartmentChanging(object sender, EventArgs e) { OnPropertyChanging("Department", _department.Clone()); }
//private void OnDepartmentsSync(object sender, AssociationChangedEventArgs<Department> e) //{ // e.Item.Branch = (AssociationChangedState.Added == e.State) ? this : null; //} private void OnCompanyChanging(object sender, EventArgs e) { OnPropertyChanging("Company", _company.Clone()); }
private void OnManagerChanging(object sender, EventArgs e) { OnPropertyChanging("Manager", _manager.Clone()); }