Skip to main content
A newer version of this page is available. .

SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork> Class

The base class for POCO view models exposing a single entity of a given type and CRUD operations against this entity.

It is not recommended to inherit directly from this class. Use the SingleObjectViewModel class instead.

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.ViewModel

Declaration

[POCOViewModel]
public abstract class SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork> :
    ISingleObjectViewModel<TEntity, TPrimaryKey>,
    ISupportParameter,
    IDocumentContent,
    ISupportLogicalLayout<SingleObjectViewModelState>,
    ISupportLogicalLayout,
    ISupportUnitOfWorkPolicy,
    ISupportParentViewModel
    where TEntity : class

Type Parameters

Name
TEntity
TPrimaryKey
TUnitOfWork

Inheritance

Object
SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork>
See Also