Skip to main content

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

NuGet Package: DevExpress.Scaffolding.Core

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