CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.IParent Interface Reference

Defines the interface that must be implemented by any business object that contains child objects. More...

Inheritance diagram for Csla.Core.IParent:
Csla.BusinessBindingListBase< T, C > Csla.BusinessListBase< T, C > Csla.Core.BusinessBase Csla.DynamicBindingListBase< T > Csla.DynamicListBase< T > Csla.IBusinessBase Csla.IBusinessListBase< C > Csla.BusinessBase< T > Csla.BusinessBase< T > Csla.BusinessListBase< T, C > Csla.Test.DataPortal.MultipleDataAccessBase< T > Csla.Test.DataPortalTest.LegacySplitBase< T > Csla.Test.DataPortalTest.SplitBase< T > Csla.Test.DataPortalTest.SplitOverloadBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase< T > Csla.Test.Silverlight.PropertyGetSet.AbstractGetSet< T > Csla.Testing.Business.ApplicationContext.ContextBOVerifier< T > Csla.Test.DataPortal.MultipleDataAccessBase< T > Csla.Test.DataPortalTest.LegacySplitBase< T > Csla.Test.DataPortalTest.SplitBase< T > Csla.Test.DataPortalTest.SplitOverloadBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase< T > Csla.Test.Silverlight.PropertyGetSet.AbstractGetSet< T > Csla.Testing.Business.ApplicationContext.ContextBOVerifier< T >

Public Member Functions

void RemoveChild (Core.IEditableBusinessObject child)
 This method is called by a child object when it wants to be removed from the collection. More...
 
void ApplyEditChild (Core.IEditableBusinessObject child)
 Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed. More...
 
int GetNextIdentity (int current)
 Gets and consumes the next available unique identity value for an object instance in the object graph. More...
 

Properties

IParent Parent [get]
 Provide access to the parent reference for use in child object code. More...
 

Detailed Description

Defines the interface that must be implemented by any business object that contains child objects.

Definition at line 17 of file IParent.cs.

Member Function Documentation

◆ ApplyEditChild()

void Csla.Core.IParent.ApplyEditChild ( Core.IEditableBusinessObject  child)

Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed.

Parameters
childThe child object that was edited.

◆ GetNextIdentity()

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.

Parameters
currentCurrent identity
Returns
The next available identity value.

◆ RemoveChild()

void Csla.Core.IParent.RemoveChild ( Core.IEditableBusinessObject  child)

This method is called by a child object when it wants to be removed from the collection.

Parameters
childThe child object to remove.

Property Documentation

◆ Parent

IParent Csla.Core.IParent.Parent
get

Provide access to the parent reference for use in child object code.

This value will be Nothing for root objects and DynamicLists.

Definition at line 39 of file IParent.cs.