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

Defines the common methods required by all editable CSLA collection objects. More...

Inheritance diagram for Csla.Core.IEditableCollection:
Csla.Core.IBusinessObject Csla.Core.ISupportUndo Csla.Core.ITrackStatus Csla.Core.INotifyBusy Csla.Core.INotifyUnhandledAsyncException Csla.BusinessBindingListBase< T, C > Csla.BusinessListBase< T, C > Csla.IBusinessListBase< C > Csla.BusinessListBase< T, C >

Public Member Functions

void RemoveChild (Core.IEditableBusinessObject child)
 Removes the specified child from the parent collection. More...
 
void SetParent (IParent parent)
 Used by BusinessListBase as a child object is created to tell the child object about its parent. More...
 
object GetDeletedList ()
 Used by ObjectFactory to gain access to the list of deleted items contained in the collection. More...
 
- Public Member Functions inherited from Csla.Core.ISupportUndo
void BeginEdit ()
 Starts a nested edit on the object. More...
 
void CancelEdit ()
 Cancels the current edit process, restoring the object's state to its previous values. More...
 
void ApplyEdit ()
 Commits the current edit process. More...
 

Additional Inherited Members

- Properties inherited from Csla.Core.IBusinessObject
int Identity [get]
 Gets a value representing this object instance's unique identity value within the business object graph. More...
 
- Properties inherited from Csla.Core.ITrackStatus
bool IsValid [get]
 Returns true if the object and its child objects are currently valid, false if the object or any of its child objects have broken rules or are otherwise invalid. More...
 
bool IsSelfValid [get]
 Returns true if the object is currently valid, false if the object has broken rules or is otherwise invalid. More...
 
bool IsDirty [get]
 Returns true if this object's data, or any of its fields or child objects data, has been changed. More...
 
bool IsSelfDirty [get]
 Returns true if this object's data has been changed. More...
 
bool IsDeleted [get]
 Returns true if this object is marked for deletion. More...
 
bool IsNew [get]
 Returns true if this is a new object, false if it is a pre-existing object. More...
 
bool IsSavable [get]
 Returns true if this object is both dirty and valid. More...
 
bool IsChild [get]
 Returns true if this is a child object, false if it is a root object. More...
 
- Properties inherited from Csla.Core.INotifyBusy
bool IsBusy [get]
 Gets a value indicating whether the object, or any of the object's child objects, are busy running an asynchronous operation. More...
 
bool IsSelfBusy [get]
 Gets a value indicating whether the object is busy running an asynchronous operation. More...
 
- Events inherited from Csla.Core.INotifyBusy
BusyChangedEventHandler BusyChanged
 Event raised when the object's busy status changes. More...
 
- Events inherited from Csla.Core.INotifyUnhandledAsyncException
EventHandler< ErrorEventArgsUnhandledAsyncException
 Event indicating that an exception occurred during an asynchronous operation. More...
 

Detailed Description

Defines the common methods required by all editable CSLA collection objects.

It is strongly recommended that the implementations of the methods in this interface be made Private so as to not clutter up the native interface of the collection objects.

Definition at line 20 of file IEditableCollection.cs.

Member Function Documentation

◆ GetDeletedList()

object Csla.Core.IEditableCollection.GetDeletedList ( )

Used by ObjectFactory to gain access to the list of deleted items contained in the collection.

◆ RemoveChild()

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

Removes the specified child from the parent collection.

Parameters
childChild object to be removed.

◆ SetParent()

void Csla.Core.IEditableCollection.SetParent ( IParent  parent)

Used by BusinessListBase as a child object is created to tell the child object about its parent.

Parameters
parentA reference to the parent collection object.