IEntityView Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IEntityView type exposes the following members.
Name | Description | |
---|---|---|
AllowEdit |
Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).
| |
AllowNew |
Gets/sets whether you can add items to the list using AddNew.
| |
AllowRemove |
Gets / sets whether you can update items in the list.
| |
Count |
Gets the count of the view.
| |
DataChangeAction |
Gets or sets the data change action which specifies what to do when the data in the related collection of an entity view changes. A change in
data can be: entity added or changed. If an entity is removed from the underlying collection, the entity is simply removed from the entity
view, as the view doesn't contain any data by itself.
| |
Filter |
Gets or sets the filter to use for this entity view.
| |
Item |
Gets the IEntity at the specified index in the view
| |
RelatedCollection |
Gets the related collection set for this view.
| |
Sorter |
Gets or sets the sorter for this entity view. Setting this property will re-sort the view and will reset the view in databinding scenario's.
|
Name | Description | |
---|---|---|
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.
| |
CreateProjection(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.
| |
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, 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(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, 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(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.
| |
GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
IndexOf |
Determines the index of the entity passed in in the entity view in filtered and sorted state.
| |
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.
|
Name | Description | |
---|---|---|
ListChanged |
Event which is fired when the entity collection related to this entityview is changed.
|