Skip to main content
A newer version of this page is available. .

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

Reset entity local changes.

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.ViewModel

Declaration

[Display(Name = "Reset Changes")]
public virtual void Reset()

Remarks

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

See Also