CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>.CanSave(TProjection) Method

Determines whether entity local changes can be saved. Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for SaveCommand.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v21.1.ViewModel.dll

Declaration

public virtual bool CanSave(
    TProjection projectionEntity
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to save.

Returns

Type
Boolean
See Also