Click or drag to resize

EntityViewTEntity Methods

The EntityViewTEntity generic type exposes the following members.

Methods
  NameDescription
Protected methodAddNew
Adds a new entity through databinding.
(Inherited from EntityViewBaseTEntity.)
Protected methodApplySort(ListSortDescriptionCollection)
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBaseTEntity.)
Protected methodApplySort(PropertyDescriptor, ListSortDirection)
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBaseTEntity.)
Public methodContains
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.)
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from EntityViewBaseTEntity.)
Protected methodCreateDummyInstance
Creates a dummy instance for the related entity collection of this view. This is done using the entityfactory of that entitycollection.
(Overrides EntityViewBaseTEntityCreateDummyInstance.)
Public methodCreateProjection(ListIEntityPropertyProjector, 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.
Public methodCreateProjection(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.
Public methodCreateProjection(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.
Public methodCreateProjection(ListIEntityPropertyProjector, 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.
Public methodCreateProjection(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.
Public methodCreateProjection(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.
Public methodCreateProjection(ListIEntityPropertyProjector, 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.
Public methodCreateProjection(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.
Public methodCreateProjection(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.
Protected methodCreateProjection(ListIEntityPropertyProjector, Boolean, IPredicate, IEntityDataProjector)
Creates a projection of the current view data, using the passed in field projections and the projector.
(Inherited from EntityViewBaseTEntity.)
Public methodDispose
Releases all resources used by the MarshalByValueComponent.
(Inherited from MarshalByValueComponent.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.
(Inherited from EntityViewBaseTEntity.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from MarshalByValueComponent.)
Protected methodFind
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from EntityViewBaseTEntity.)
Protected methodGetEntityAtIndex
Gets the entity at the specofied index in the view.
(Inherited from EntityViewBaseTEntity.)
Protected methodGetEntityFieldPropertyDescriptors
Gets the entity field property descriptors for the dummy instance passed in.
(Inherited from EntityViewBaseTEntity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetItemProperties
Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data.
(Inherited from EntityViewBaseTEntity.)
Public methodGetListName
Returns the name of the list.
(Inherited from EntityViewBaseTEntity.)
Public methodGetPropertyDescriptors
Gets the property descriptors for the entity passed in. This is a dummy instance, and used to produce the property descriptors.
(Inherited from EntityViewBaseTEntity.)
Public methodGetService
Gets the implementer of the IServiceProvider.
(Inherited from MarshalByValueComponent.)
Protected methodGetSortProperty
Gets the property descriptor for the first sortclause.
(Overrides EntityViewBaseTEntityGetSortProperty(ISortExpression).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines the index of the entity passed in in the entity view in filtered and sorted state.
(Inherited from EntityViewBaseTEntity.)
Protected methodInitClassCore
Inits the class.
(Inherited from EntityViewBaseTEntity.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnListChanged
Called when something changes in the related list or this view.
(Inherited from EntityViewBaseTEntity.)
Public methodRefresh
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBaseTEntity.)
Protected methodRemove
Removes the specified entity from the related collection, if the entity is in the view.
(Inherited from EntityViewBaseTEntity.)
Protected methodRemoveAt
Removes the item at the specified index in this view from the related collection
(Inherited from EntityViewBaseTEntity.)
Protected methodRemoveSort
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBaseTEntity.)
Protected methodSetFilter
Applies the filter specified to the set related collection
(Inherited from EntityViewBaseTEntity.)
Protected methodSetSorter
Sets the sort expression for the filtered entities in this view. It sorts the entities which are in this view,
(Inherited from EntityViewBaseTEntity.)
Public methodToEntityCollection
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.
Public methodToEntityCollection(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.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from MarshalByValueComponent.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Not supported. Use AddNew() or add a new object to the related entity collection.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListAddIndex
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListAddNew
Adds a new item to the list.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListViewApplySort
Sorts the data source based on the given ListSortDescriptionCollection.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListClear
Not supported. Clear the related entity collection instead.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListFind
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIEnumerableTEntityGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListInsert
Not supported. Insert a new entity in the related collection instead.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListRemove
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIListRemoveAt
Not supported. Remove the entity from the related collection instead.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListViewRemoveFilter
Removes the current filter applied to the data source.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListRemoveIndex
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIBindingListRemoveSort
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIEntityViewContains
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.
Explicit interface implementationPrivate methodIEntityViewCreateProjection(ListIEntityPropertyProjector, 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.
Explicit interface implementationPrivate methodIEntityViewCreateProjection(ListIEntityPropertyProjector, 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.
Explicit interface implementationPrivate methodIEntityViewCreateProjection(ListIEntityPropertyProjector, 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.
Explicit interface implementationPrivate methodIEntityViewIndexOf
Determines the index of the entity passed in in the entity view in filtered and sorted state.
Explicit interface implementationPrivate methodIEntityViewToEntityCollection
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.
Explicit interface implementationPrivate methodIEntityViewToEntityCollection(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.
Explicit interface implementationPrivate methodIEntityViewCoreIndexOf
Determines the index of the entity passed in in the entity view in filtered and sorted state.
(Inherited from EntityViewBaseTEntity.)
Explicit interface implementationPrivate methodIEntityViewCoreRefresh
Refreshes this view by re-applying filter and sorter on the related collection
(Inherited from EntityViewBaseTEntity.)
Top
See Also