Skip to main content

ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> Members

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.

Properties

Name Description
AllowSaveReset Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
CanSerialize
DocumentManagerService
Entities The collection of entities loaded from the unit of work. Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
FilterExpression The lambda expression used to filter which entities will be loaded locally from the unit of work.
IsLoading Used to check whether entities are currently being loaded in the background. The property can be used to show the progress indicator. Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
LookupViewModels
ParentViewModel Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
SelectedEntity The selected entity.
UnitOfWorkFactory Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
UnitOfWorkPolicy Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.

Methods

Name Description
CanRefresh() Determines whether entities can be reloaded.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnLoaded()
OnUnloaded()
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Refresh() Reloads entities.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also