Skip to main content

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

Deletes the entity, save changes and closes the corresponding view if confirmed by a user.

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public virtual void Delete()

Remarks

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

See Also