Table of Contents

Class BaseEditRelatedEntityViewModel<T, TResult, TParent>

Namespace
Innova.Prism.Library.BaseViewModels
Assembly
Innova.Prism.Library.dll
public abstract class BaseEditRelatedEntityViewModel<T, TResult, TParent> : BaseDataViewModelDialog<T, TResult>, INotifyPropertyChanged, IBusyViewModel, IDialogAware, IDataViewModelDialog<T, TResult>, IViewModelDialog, ISupportSetFocusOnFirstItem where T : class where TResult : class where TParent : class

Type Parameters

T
TResult
TParent
Inheritance
BaseEditRelatedEntityViewModel<T, TResult, TParent>
Implements
IDialogAware

Constructors

BaseEditRelatedEntityViewModel(IWindowDialogService, IEventAggregator, ILookupService, IEntityService<T>)

Fields

_entityService

Properties

ItemsSource
PrimaryKeys
SaveCommand
SelectedValuePath
ShouldCloseDialog

Methods

CanSave()
Cancel()
LoadLookup()
LoadMainEntity()
OnDialogOpened(IDialogParameters)

Called when the dialog is opened.

RaiseCanExecuteChanged()
Save()
UpdateRelated()