EntityView<TEntity> Methods |
The EntityView<TEntity> generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddNew |
Adds a new entity through databinding.
(Inherited from EntityViewBase<TEntity>.) |
![]() | ApplySort(ListSortDescriptionCollection) |
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBase<TEntity>.) |
![]() | ApplySort(PropertyDescriptor, ListSortDirection) |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBase<TEntity>.) |
![]() | Contains |
Determines whether this entity view contains the entity passed in. This method returns false if the entity is outside the filter, but in the related
entity collection, as it's then not contained in the entity view.
(Inherited from EntityViewBase<TEntity>.) |
![]() | CopyTo | (Inherited from EntityViewBase<TEntity>.) |
![]() | CreateDummyInstance |
Creates a dummy instance for the related entity collection of this view. This is done using the entityfactory of that entitycollection.
(Overrides EntityViewBase<TEntity>.CreateDummyInstance().) |
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityCollection) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityDataProjector) |
Projects the data in the view onto a new set, stored in a collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, DataTable) |
Projects the data in the view onto a new set, stored in a datatable using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityCollection, Boolean) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityDataProjector, Boolean) |
Projects the data in the view onto a new set, stored in a collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, DataTable, Boolean) |
Projects the data in the view onto a new set, stored in a datatable using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityCollection, Boolean, IPredicate) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, IEntityDataProjector, Boolean, IPredicate) |
Projects the data in the view onto a new set, stored in a collection using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, DataTable, Boolean, IPredicate) |
Projects the data in the view onto a new set, stored in a datatable using the property projector objects to produce the actual data.
|
![]() | CreateProjection(List<IEntityPropertyProjector>, Boolean, IPredicate, IEntityDataProjector) |
Creates a projection of the current view data, using the passed in field projections and the projector.
(Inherited from EntityViewBase<TEntity>.) |
![]() | Dispose() | Releases all resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.) |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.
(Inherited from EntityViewBase<TEntity>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | (Inherited from MarshalByValueComponent.) |
![]() | Find |
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetEntityAtIndex |
Gets the entity at the specofied index in the view.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetEntityFieldPropertyDescriptors |
Gets the entity field property descriptors for the dummy instance passed in.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetItemProperties |
Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetListName |
Returns the name of the list.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetPropertyDescriptors |
Gets the property descriptors for the entity passed in. This is a dummy instance, and used to produce the property descriptors.
(Inherited from EntityViewBase<TEntity>.) |
![]() | GetService | Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.) |
![]() | GetSortProperty |
Gets the property descriptor for the first sortclause.
(Overrides EntityViewBase<TEntity>.GetSortProperty(ISortExpression).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
(Inherited from EntityViewBase<TEntity>.) |
![]() | InitClassCore |
Inits the class.
(Inherited from EntityViewBase<TEntity>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnListChanged |
Called when something changes in the related list or this view.
(Inherited from EntityViewBase<TEntity>.) |
![]() | Refresh |
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBase<TEntity>.) |
![]() | Remove |
Removes the specified entity from the related collection, if the entity is in the view.
(Inherited from EntityViewBase<TEntity>.) |
![]() | RemoveAt |
Removes the item at the specified index in this view from the related collection
(Inherited from EntityViewBase<TEntity>.) |
![]() | RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBase<TEntity>.) |
![]() | SetFilter |
Applies the filter specified to the set related collection
(Inherited from EntityViewBase<TEntity>.) |
![]() | SetSorter |
Sets the sort expression for the filtered entities in this view. It sorts the entities which are in this view,
(Inherited from EntityViewBase<TEntity>.) |
![]() | ToEntityCollection() |
Copies all entities in this view to a new entity collection and returns that collection. The returned collection is of
the same type as the related collection. Entities aren't copied, just references to the entities.
|
![]() | ToEntityCollection(Int32) |
Copies all entities starting at startIndex in this view to a new entity collection and returns that collection. The returned collection is of
the same type as the related collection. Entities aren't copied, just references to the entities.
|
![]() | ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.) |
Name | Description | |
---|---|---|
![]() ![]() | IList.Add |
Not supported. Use AddNew() or add a new object to the related entity collection.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.AddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.AddNew |
Adds a new item to the list.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.ApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingListView.ApplySort |
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.Clear |
Not supported. Clear the related entity collection instead.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.Contains |
Determines whether the IList contains a specific value.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | ICollection.CopyTo | (Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.Find |
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IEnumerable<TEntity>.GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IEnumerable.GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.IndexOf |
Determines the index of a specific item in the IList.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.Insert |
Not supported. Insert a new entity in the related collection instead.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.Remove |
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IList.RemoveAt |
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingListView.RemoveFilter |
Removes the current filter applied to the data source.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.RemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IBindingList.RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IEntityView.Contains |
Determines whether this entity view contains the entity passed in. This method returns false if the entity is outside the filter, but in the related
entity collection, as it's then not contained in the entity view.
|
![]() ![]() | IEntityView.CreateProjection(List<IEntityPropertyProjector>, IEntityCollection) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() ![]() | IEntityView.CreateProjection(List<IEntityPropertyProjector>, IEntityCollection, Boolean) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() ![]() | IEntityView.CreateProjection(List<IEntityPropertyProjector>, IEntityCollection, Boolean, IPredicate) |
Projects the data in the view onto a new set, stored in an entity collection using the property projector objects to produce the actual data.
|
![]() ![]() | IEntityView.IndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
|
![]() ![]() | IEntityView.ToEntityCollection() |
Copies all entities in this view to a new entity collection and returns that collection. The returned collection is of
the same type as the related collection. Entities aren't copied, just references to the entities.
|
![]() ![]() | IEntityView.ToEntityCollection(Int32) |
Copies all entities starting at startIndex in this view to a new entity collection and returns that collection. The returned collection is of
the same type as the related collection. Entities aren't copied, just references to the entities.
|
![]() ![]() | IEntityViewCore.IndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
(Inherited from EntityViewBase<TEntity>.) |
![]() ![]() | IEntityViewCore.Refresh |
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBase<TEntity>.) |