Skip to main content

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public virtual bool CanSave(
    TProjection projectionEntity
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to save.

Returns

Type
Boolean
See Also