Skip to main content

SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork>.SaveAndNew() Method

Saves changes in the underlying unit of work and create new entity.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v24.2.ViewModel.dll

Declaration

[Command(CanExecuteMethodName = "CanSave")]
public void SaveAndNew()

Remarks

Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the SaveAndNewCommand property that can be used as a binding source in views.

See Also