Back to Devexpress

ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> Class

corelibraries-devexpress-dot-mvvm-dot-viewmodel-dot-readonlycollectionviewmodelbase-3.md

latest2.3 KB
Original Source

ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> Class

The base class for POCO view models exposing a read-only collection of entities of a given type.

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

Namespace : DevExpress.Mvvm.ViewModel

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

NuGet Package : DevExpress.Scaffolding.Core

Declaration

csharp
[POCOViewModel]
public class ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> :
    EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>,
    ISupportLogicalLayout
    where TEntity : class
vb
<POCOViewModel>
Public Class ReadOnlyCollectionViewModelBase(Of TEntity As Class, TProjection As Class, TUnitOfWork As IUnitOfWork)
    Inherits EntitiesViewModelBase(Of TEntity, TProjection, TUnitOfWork)
    Implements ISupportLogicalLayout

Type Parameters

Name
TEntity
TProjection
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

ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> Members

DevExpress.Mvvm.ViewModel Namespace