Skip to main content

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

Determines whether the entity can be deleted.

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public virtual bool CanDelete()

Returns

Type
Boolean

Remarks

Since SingleObjectViewModelBase is a POCO view model, this method will be used as a CanExecute callback for DeleteCommand.

See Also