EntityViewBaseTEntity Methods |
The EntityViewBaseTEntity generic type exposes the following members.
Name | Description | |
---|---|---|
AddNew |
Adds a new entity through databinding.
| |
ApplySort(ListSortDescriptionCollection) |
Sorts the data source based on the given ListSortDescriptionCollection.
| |
ApplySort(PropertyDescriptor, ListSortDirection) |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
| |
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.
| |
CopyTo | ||
CreateDummyInstance |
Creates a dummy instance for the related entity collection of this view. This is done using the entityfactory of that entitycollection.
| |
CreateProjection |
Creates a projection of the current view data, using the passed in field projections and the projector.
| |
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.
(Overrides MarshalByValueComponentDispose(Boolean).) | |
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.
| |
GetEntityAtIndex |
Gets the entity at the specofied index in the view.
| |
GetEntityFieldPropertyDescriptors |
Gets the entity field property descriptors for the dummy instance passed in.
| |
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.
| |
GetListName |
Returns the name of the list.
| |
GetPropertyDescriptors |
Gets the property descriptors for the entity passed in. This is a dummy instance, and used to produce the property descriptors.
| |
GetService | Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.) | |
GetSortProperty |
Gets the property descriptor for the first sortclause.
| |
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.
| |
InitClassCore |
Inits the class.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnListChanged |
Called when something changes in the related list or this view.
| |
Refresh |
Refreshes this view by re-applying filter and sorter on the related collection
| |
Remove |
Removes the specified entity from the related collection, if the entity is in the view.
| |
RemoveAt |
Removes the item at the specified index in this view from the related collection
| |
RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
| |
SetFilter |
Applies the filter specified to the set related collection
| |
SetSorter |
Sets the sort expression for the filtered entities in this view. It sorts the entities which are in this view,
| |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.) |
Name | Description | |
---|---|---|
ExcludeTEntity |
Defines a set of fields to exclude. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
FilterByTEntity |
Defines a predicate on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
IncludeTEntity |
Defines a set of fields to include, excluding all other fields. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
LimitToTEntity |
Defines a limit on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
SortByTEntity |
Defines an ordering definition (ascending) on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
SortByDescendingTEntity |
Defines an ordering definition (descending) on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
WithTEntity(ExpressionFuncTEntity, Object) | Overloaded.
Defines one or more nodes to fetch, related to the specified entity set. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
WithTEntity(IEnumerableExpressionFuncTEntity, Object) | Overloaded.
Defines one or more nodes to fetch, related to the specified entity set. For prefetch path definitions
(Defined by PrefetchExtensions.) |
Name | Description | |
---|---|---|
IListAdd |
Not supported. Use AddNew() or add a new object to the related entity collection.
| |
IBindingListAddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
| |
IBindingListAddNew |
Adds a new item to the list.
| |
IBindingListApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
| |
IBindingListViewApplySort |
Sorts the data source based on the given ListSortDescriptionCollection.
| |
IListClear |
Not supported. Clear the related entity collection instead.
| |
IListContains |
Determines whether the IList contains a specific value.
| |
ICollectionCopyTo | ||
IBindingListFind |
Returns the index of the row that has the given PropertyDescriptor.
| |
IEnumerableTEntityGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
| |
IListIndexOf |
Determines the index of a specific item in the IList.
| |
IListInsert |
Not supported. Insert a new entity in the related collection instead.
| |
IListRemove |
Not supported. Remove the entity from the related collection instead.
| |
IListRemoveAt |
Not supported. Remove the entity from the related collection instead.
| |
IBindingListViewRemoveFilter |
Removes the current filter applied to the data source.
| |
IBindingListRemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
| |
IBindingListRemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
| |
IEntityViewCoreIndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
| |
IEntityViewCoreRefresh |
Refreshes this view by re-applying filter and sorter on the related collection
|