CollectionCoreT Methods |
The CollectionCoreT generic type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an item to the ICollectionT.
| |
AddContainedEntitiesToContext |
Adds the contained entities to the active set context.
| |
AddNew |
Will add a new entity to the list, will set its parent collection property so CancelEdit will remove
it from the list again, and will set its flag that it is added by databinding.
| |
AddRange |
Adds the range of objects passed in.
| |
Clear |
Removes all items from the ICollectionT.
| |
Clear(Boolean) |
Removes all items from the ICollectionT.
| |
Contains |
Determines whether the ICollectionT contains a specific value.
| |
CopyTo | ||
Dispose |
Disposes this instance.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindMatches |
Gets all indices of all the entities in the current order of this collection which match the passed in filter.
| |
GetEntityDescription |
Gets the entity description for the entity passed in.
| |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
ISerializable member.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Determines the index of a specific item in the IListT.
| |
InitCoreClass |
Inits the core class.
| |
Insert |
Inserts an item to the IListT at the specified index.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialized |
Called at the end of the deserialization constructor. Method is used when this object is deserialized. Override this method to
tap into the deserialization sequence. (binary/soap formatter specific).
| |
OnEntityAdded |
Called at the end of the Add or Insert routine which adds an entity to this collection. Will raise EntityAdded event.
| |
OnEntityAdding |
Called at the start of the Add or Insert routine which adds an entity to this collection. Will raise EntityAdding event.
| |
OnEntityInListOnEntityContentsChanged |
Event handler for the EntityContentsChanged event.
| |
OnEntityRemoved |
Called at the end of a remove routine which removes an entity from this collection. Will raise EntityRemoved event.
| |
OnEntityRemoving |
Called at the start of a remove routine which removes an entity from this collection. Will raise EntityRemoving event.
| |
OnGetObjectData |
Called at the end of GetObjectData. Method is used when this object is serialized. Override this method to
tap into the serialization sequence. (binary/soap formatter specific).
| |
OnListChanged |
Called when [list changed].
| |
PerformAddToActiveContext |
Performs the add action to the active context for this collection
| |
PerformSetRelatedEntity |
Performs the set related entity action on the passed in entity. This action is delegated to an inheritor.
| |
PerformUnsetRelatedEntity |
Performs the unset related entity action on the passed in entity. This action is delegated to an inheritor.
| |
PlaceInRemovedEntitiesTracker |
Places the item in the set RemovedEntitiesTracker.
| |
Remove |
Removes the first occurrence of a specific object from the ICollectionT.
| |
RemoveAt |
Removes the IListT item at the specified index.
| |
RemoveRange |
Removes the elements in the range specified from this collection.
| |
SilentRemove |
Removes the passed in entity from the collection without notifying the entity to remove that it has been removed from this collection.
| |
Sort(Int32, ListSortDirection) |
Applies sorting like IBindingList.ApplySort, on the field with the index fieldIndex and with the direction specified.
| |
Sort(PropertyDescriptor, ListSortDirection, IComparerObject) |
Sorts the collection.
| |
Sort(Int32, ListSortDirection, IComparerObject) |
Sorts the collection.
| |
Sort(String, ListSortDirection, IComparerObject) |
Sorts the collection.
| |
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
ExcludeT |
Defines a set of fields to exclude. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
FilterByT |
Defines a predicate on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
IncludeT |
Defines a set of fields to include, excluding all other fields. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
LimitToT |
Defines a limit on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
SortByT |
Defines an ordering definition (ascending) on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
SortByDescendingT |
Defines an ordering definition (descending) on the collection specified. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
WithT(ExpressionFuncT, Object) | Overloaded.
Defines one or more nodes to fetch, related to the specified entity set. For prefetch path definitions
(Defined by PrefetchExtensions.) | |
WithT(IEnumerableExpressionFuncT, 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 |
Adds an item to the IList.
| |
IListClear |
Removes all items from the ICollectionT.
| |
IListContains |
Determines whether the IList contains a specific value.
| |
ICollectionCopyTo | ||
IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
| |
IListIndexOf |
Determines the index of a specific item in the IList.
| |
IListInsert |
Inserts an item to the IList at the specified index.
| |
IListRemove |
Removes the first occurrence of a specific object from the IList.
| |
IListRemoveAt |
Removes the IListT item at the specified index.
| |
IEntityCollectionCoreAdd |
Adds an IEntityCore object to the list.
| |
IEntityCollectionCoreClear |
Clears the collection
| |
IEntityCollectionCoreClear(Boolean) |
Clears the collection
| |
IEntityCollectionCoreContains |
Returns true if the list contains the given entity
| |
IEntityCollectionCoreFindMatches |
Gets all indices of all the entities in the current order of this collection which match the passed in filter.
| |
IEntityCollectionCoreIndexOf |
Returns index in the list of given entity.
| |
IEntityCollectionCoreInsert |
Inserts an IEntityCore on position Index
| |
IEntityCollectionCoreRemove |
Remove given IEntityCore instance from the list.
|