protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); QuickLetter.Entity = SelectedEntity; QuickLetter.RaisePropertyChanged(x => x.Entity); if (SelectedEntity != null) { EntityPanelViewModel.Entity = SelectedEntity; } TableViewSelectedEntity = SelectedEntity; CardViewSelectedEntity = SelectedEntity; }
protected override void OnSelectedEntityChanged() { base.OnSelectedEntityChanged(); QuickLetter.Entity = SelectedEntity; QuickLetter.RaisePropertyChanged(x => x.Entity); if (SelectedEntity != null) { EntityPanelViewModel.Entity = SelectedEntity; } SetDefaultReport(ReportInfoFactory.EmployeeProfile(SelectedEntity)); TableViewSelectedEntity = SelectedEntity; CardViewSelectedEntity = SelectedEntity; }
public override void UpdateSelectedEntity() { base.UpdateSelectedEntity(); QuickLetter.RaisePropertyChanged(x => x.Entity); EntityPanelViewModel.RaisePropertyChanged(x => x.Entity); }