![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Defines the interface that must be implemented by any business object that contains child objects. More...
Public Member Functions | |
| Task | RemoveChild (IEditableBusinessObject child) |
| This method is called by a child object when it wants to be removed from the collection. | |
| Task | ApplyEditChild (IEditableBusinessObject child) |
| Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed. | |
| int | GetNextIdentity (int current) |
| Gets and consumes the next available unique identity value for an object instance in the object graph. Implemented by the root object of the graph. | |
Properties | |
| IParent? | Parent [get] |
| Provide access to the parent reference for use in child object code. | |
Defines the interface that must be implemented by any business object that contains child objects.
| Task Csla.Core.IParent.ApplyEditChild | ( | IEditableBusinessObject | child | ) |
Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed.
| child | The child object that was edited. |
| ArgumentNullException | child is null. |
| int Csla.Core.IParent.GetNextIdentity | ( | int | current | ) |
Gets and consumes the next available unique identity value for an object instance in the object graph. Implemented by the root object of the graph.
| current | Current identity |
| Task Csla.Core.IParent.RemoveChild | ( | IEditableBusinessObject | child | ) |
This method is called by a child object when it wants to be removed from the collection.
| child | The child object to remove. |
| ArgumentNullException | child is null. |
|
get |
Provide access to the parent reference for use in child object code.
This value will be Nothing for root objects and DynamicLists.
Implemented in Csla.BusinessBindingListBase< T, C >, and Csla.Core.BusinessBase.