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

Saves the given entity. Since CollectionViewModelBase is a POCO view model, the instance of this class will also expose the SaveCommand property that can be used as a binding source in views.

Namespace: DevExpress.Mvvm.ViewModel

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

Declaration

[Display(AutoGenerateField = false)]
public virtual void Save(
    TProjection projectionEntity
)
<Display(AutoGenerateField:=False)>
Public Overridable Sub Save(
    projectionEntity As TProjection
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to save.

See Also