Skip to main content

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

Determines whether entity has local changes that can be saved.

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public virtual bool CanSave()

Returns

Type
Boolean

Remarks

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

See Also