ChildCollectionTChildObject Class |
Namespace: Aloe.SystemFrameworks.Domain
public class ChildCollection<TChildObject> : ObjectCollection<TChildObject>, IChildCollection, ILazyObject where TChildObject : EditableDomainObject
The ChildCollectionTChildObject type exposes the following members.
| Name | Description | |
|---|---|---|
| ChildCollectionTChildObject |
Creates new list, containing all child objects which are referencing the specified parent object
|
| Name | Description | |
|---|---|---|
| ChildToParentReference |
The child->parent reference
| |
| Count |
Gets the number of objects.
(Inherited from ObjectCollectionTObject.) | |
| FilterExpression |
Gets the filter expression.
(Inherited from ObjectCollectionTObject.) | |
| IsLoaded |
Gets a value indicating whether the object list is loaded.
(Inherited from ObjectCollectionTObject.) | |
| Item |
Gets the element at the specified index
(Inherited from ObjectCollectionTObject.) | |
| ParentObject |
The parent object of this child list
| |
| Query |
Gets the query.
(Inherited from ObjectCollectionTObject.) | |
| Transaction |
Gets the transaction.
(Inherited from ObjectCollectionTObject.) |
| Name | Description | |
|---|---|---|
| Add |
Adds an existing domain object to the child objects collection
| |
| Delete |
Deletes the specified object and removes it from the collection.
| |
| DeleteAll |
Deletes all elements and clears the ObjectCollectionTObject.
| |
| Refresh |
Loads or reloads the contents of the list from the query
(Inherited from ObjectCollectionTObject.) | |
| RefreshLocal |
Refreshes the object list from the locally loaded objects in the transaction.
(Inherited from ObjectCollectionTObject.) | |
| Remove |
Removes the specified object from the collection.
| |
| ToString |
Returns a String that represents this instance.
(Inherited from ObjectCollectionTObject.) |