// Called during a remove operation private void detach_Fillup(FillupModel fillup) { NotifyPropertyChanging("Vehicle"); fillup.Vehicle = null; }
// Called during an add operation private void attach_Fillup(FillupModel fillup) { NotifyPropertyChanging("Vehicle"); fillup.Vehicle = this; }