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.v21.1.ViewModel.dll

Declaration

public virtual bool CanDelete(
    TProjection projectionEntity
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to edit.

Returns

Type
Boolean
See Also