EntityView2TEntity Methods |
The EntityView2TEntity generic type exposes the following members.
Name | Description | |
---|---|---|
AddNew |
Adds a new entity through databinding.
(Inherited from EntityViewBaseTEntity.) | |
ApplySort(ListSortDescriptionCollection) |
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBaseTEntity.) | |
ApplySort(PropertyDescriptor, ListSortDirection) |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBaseTEntity.) | |
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 EntityViewBaseTEntity.) | |
CopyTo | (Inherited from EntityViewBaseTEntity.) | |
CreateDummyInstance |
Creates a dummy instance for the related entity collection of this view. This is done using the entityfactory of that entitycollection.
(Overrides EntityViewBaseTEntityCreateDummyInstance.) | |
CreateProjection(ListIEntityPropertyProjector, IEntityCollection2) |
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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, IEntityCollection2, 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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, IEntityCollection2, 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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, 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(ListIEntityPropertyProjector, Boolean, IPredicate, IEntityDataProjector) |
Creates a projection of the current view data, using the passed in field projections and the projector.
(Inherited from EntityViewBaseTEntity.) | |
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 EntityViewBaseTEntity.) | |
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 EntityViewBaseTEntity.) | |
GetEntityAtIndex |
Gets the entity at the specofied index in the view.
(Inherited from EntityViewBaseTEntity.) | |
GetEntityFieldPropertyDescriptors |
Gets the entity field property descriptors for the dummy instance passed in.
(Inherited from EntityViewBaseTEntity.) | |
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 EntityViewBaseTEntity.) | |
GetListName |
Returns the name of the list.
(Inherited from EntityViewBaseTEntity.) | |
GetPropertyDescriptors |
Gets the property descriptors for the entity passed in. This is a dummy instance, and used to produce the property descriptors.
(Inherited from EntityViewBaseTEntity.) | |
GetService | Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.) | |
GetSortProperty |
Gets the property descriptor for the first sortclause.
(Overrides EntityViewBaseTEntityGetSortProperty(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 EntityViewBaseTEntity.) | |
InitClassCore |
Inits the class.
(Inherited from EntityViewBaseTEntity.) | |
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 EntityViewBaseTEntity.) | |
Refresh |
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBaseTEntity.) | |
Remove |
Removes the specified entity from the related collection, if the entity is in the view.
(Inherited from EntityViewBaseTEntity.) | |
RemoveAt |
Removes the item at the specified index in this view from the related collection
(Inherited from EntityViewBaseTEntity.) | |
RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBaseTEntity.) | |
SetFilter |
Applies the filter specified to the set related collection
(Inherited from EntityViewBaseTEntity.) | |
SetSorter |
Sets the sort expression for the filtered entities in this view. It sorts the entities which are in this view,
(Inherited from EntityViewBaseTEntity.) | |
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 | |
---|---|---|
IListAdd |
Not supported. Use AddNew() or add a new object to the related entity collection.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListAddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListAddNew |
Adds a new item to the list.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListViewApplySort |
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBaseTEntity.) | |
IListClear |
Not supported. Clear the related entity collection instead.
(Inherited from EntityViewBaseTEntity.) | |
IListContains |
Determines whether the IList contains a specific value.
(Inherited from EntityViewBaseTEntity.) | |
ICollectionCopyTo | (Inherited from EntityViewBaseTEntity.) | |
IBindingListFind |
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from EntityViewBaseTEntity.) | |
IEnumerableTEntityGetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from EntityViewBaseTEntity.) | |
IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from EntityViewBaseTEntity.) | |
IListIndexOf |
Determines the index of a specific item in the IList.
(Inherited from EntityViewBaseTEntity.) | |
IListInsert |
Not supported. Insert a new entity in the related collection instead.
(Inherited from EntityViewBaseTEntity.) | |
IListRemove |
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBaseTEntity.) | |
IListRemoveAt |
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListViewRemoveFilter |
Removes the current filter applied to the data source.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListRemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from EntityViewBaseTEntity.) | |
IBindingListRemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBaseTEntity.) | |
IEntityView2Contains |
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.
| |
IEntityView2CreateProjection(ListIEntityPropertyProjector, IEntityCollection2) |
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.
| |
IEntityView2CreateProjection(ListIEntityPropertyProjector, IEntityCollection2, 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.
| |
IEntityView2CreateProjection(ListIEntityPropertyProjector, IEntityCollection2, 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.
| |
IEntityView2IndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
| |
IEntityView2ToEntityCollection |
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.
| |
IEntityView2ToEntityCollection(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.
| |
IEntityViewCoreIndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
(Inherited from EntityViewBaseTEntity.) | |
IEntityViewCoreRefresh |
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBaseTEntity.) |