CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>.CanDelete(TProjection) Method
Determines whether an entity can be deleted. Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for DeleteCommand.
Namespace: DevExpress.Mvvm.ViewModel
Assembly: DevExpress.Mvvm.v25.1.ViewModel.dll
NuGet Package: DevExpress.Scaffolding.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| projectionEntity | TProjection | An entity to edit. |
Returns
| Type |
|---|
| Boolean |
See Also