Defines the common methods required by all editable CSLA single objects. More...
Public Member Functions | |
void | DeleteChild () |
Called by a parent object to mark the child for deferred deletion. More... | |
void | SetParent (IParent parent) |
Used by BusinessListBase as a child object is created to tell the child object about its parent. More... | |
void | Delete () |
Marks the object for deletion. 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... | |
Public Member Functions inherited from Csla.Core.IUndoableObject | |
void | CopyState (int parentEditLevel, bool parentBindingEdit) |
Copies the state of the object and places the copy onto the state stack. More... | |
void | UndoChanges (int parentEditLevel, bool parentBindingEdit) |
Restores the object's state to the most recently copied values from the state stack. More... | |
void | AcceptChanges (int parentEditLevel, bool parentBindingEdit) |
Accepts any changes made to the object since the last state copy was made. More... | |
Properties | |
int | EditLevelAdded [getset] |
For internal use only!! More... | |
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.IUndoableObject | |
int | EditLevel [get] |
Gets the current edit level of the object. 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... | |
Additional Inherited Members | |
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< ErrorEventArgs > | UnhandledAsyncException |
Event indicating that an exception occurred during an asynchronous operation. More... | |
Defines the common methods required by all editable CSLA single 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 22 of file IEditableBusinessObject.cs.
void Csla.Core.IEditableBusinessObject.Delete | ( | ) |
Marks the object for deletion.
The object will be deleted as part of the next save operation.
Implemented in Csla.Core.BusinessBase.
void Csla.Core.IEditableBusinessObject.DeleteChild | ( | ) |
Called by a parent object to mark the child for deferred deletion.
void Csla.Core.IEditableBusinessObject.SetParent | ( | IParent | parent | ) |
Used by BusinessListBase as a child object is created to tell the child object about its parent.
parent | A reference to the parent collection object. |
|
getset |
For internal use only!!
Altering this value will almost certainly break your code. This property is for use by the parent collection only!
Definition at line 32 of file IEditableBusinessObject.cs.