Back to Devexpress

CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> Class

corelibraries-devexpress-dot-mvvm-dot-viewmodel-dot-collectionviewmodelbase-4.md

latest2.5 KB
Original Source

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.v25.2.ViewModel.dll

NuGet Package : DevExpress.Scaffolding.Core

Declaration

csharp
public class CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> :
    ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork>,
    ISupportLogicalLayout<CollectionViewModelState>,
    ISupportLogicalLayout,
    ICollectionViewModel
    where TEntity : class
vb
Public Class CollectionViewModelBase(Of TEntity As Class, TProjection As Class, TPrimaryKey, TUnitOfWork As IUnitOfWork)
    Inherits ReadOnlyCollectionViewModelBase(Of TEntity, TProjection, TUnitOfWork)
    Implements ISupportLogicalLayout(Of CollectionViewModelState),
               ISupportLogicalLayout,
               ICollectionViewModel

Type Parameters

Name
TEntity
TProjection
TPrimaryKey
TUnitOfWork

Implements

IDocumentContent

ISupportParentViewModel

Inheritance

Object EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork> ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork>

See Also

CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> Members

DevExpress.Mvvm.ViewModel Namespace