Skip to main content

LookUpEntitiesViewModel<TEntity, TProjection, TPrimaryKey, TUnitOfWork> Members

Represents a POCO view models used by SingleObjectViewModel to exposing collections of related entities.

This is a partial class that provides an extension point to add custom properties, commands and override methods without modifying the auto-generated code.

Properties

Name Description
AllowSaveReset Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
Entities The collection of entities loaded from the unit of work. Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
FilterExpression
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>.
ParentViewModel Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
UnitOfWorkFactory Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.
UnitOfWorkPolicy Inherited from EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork>.

Methods

Name Description
Create(IUnitOfWorkFactory<TUnitOfWork>, Func<TUnitOfWork, IReadOnlyRepository<TEntity>>, Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>>) static Creates a new instance of LookUpEntitiesViewModel as a POCO view model.
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.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also