Skip to main content

CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> Class

The base class for POCO view models exposing a collection of entities of a given type and CRUD operations against these entities.

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

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public class CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> :
    ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork>,
    ISupportLogicalLayout<CollectionViewModelState>,
    ISupportLogicalLayout,
    ICollectionViewModel
    where TEntity : class

Type Parameters

Name
TEntity
TProjection
TPrimaryKey
TUnitOfWork

Inheritance

Object
EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>
ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork>
CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>
See Also