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.Test.ValidationRules.ChildList Class Reference
Inheritance diagram for Csla.Test.ValidationRules.ChildList:
Csla.BusinessBindingListBase< ChildList, Child >

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBindingListBase< ChildList, Child >
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...
 
bool ContainsDeleted (C item)
 Returns true if the internal deleted list contains the specified child object. More...
 
Clone ()
 Creates a clone of the object. More...
 
Save ()
 Saves the object to the database. More...
 
async Task< T > SaveAsync ()
 Saves the object to the database. More...
 
async Task SaveAndMergeAsync ()
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 
C[] ToArray ()
 Get an array containing all items in the list. More...
 
- Protected Member Functions inherited from Csla.BusinessBindingListBase< ChildList, Child >
 BusinessBindingListBase ()
 Creates an instance of the type. More...
 
virtual void Initialize ()
 Override this method to set up event handlers so user code in a partial class can respond to events raised by generated code. More...
 
virtual void EditChildComplete (Core.IEditableBusinessObject child)
 Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed. More...
 
override object AddNewCore ()
 Override this method to create a new object that is added to the collection. More...
 
override void InsertItem (int index, C item)
 Sets the edit level of the child object as it is added. More...
 
override void RemoveItem (int index)
 Marks the child object for deletion and moves it to the collection of deleted objects. More...
 
override void ClearItems ()
 Clears the collection, moving all active items to the deleted list. More...
 
override void SetItem (int index, C item)
 Replaces the item at the specified index with the specified item, first moving the original item to the deleted list. More...
 
override void Child_PropertyChanged (object sender, PropertyChangedEventArgs e)
 Handles any PropertyChanged event from a child object and echoes it up as a ListChanged event. More...
 
void MarkAsChild ()
 Marks the object as being a child object. More...
 
virtual object GetClone ()
 Creates a clone of the object. More...
 
override void OnDeserialized ()
 This method is called on a newly deserialized object after deserialization is complete. More...
 
virtual void Child_Create ()
 Initializes a new instance of the object with default values. More...
 
virtual void Child_Update (params object[] parameters)
 Saves all items in the list, automatically performing insert, update or delete operations as necessary. More...
 
virtual async Task< T > SaveAsync (object userState, bool isSync)
 Saves the object to the database. More...
 
virtual void DataPortal_OnDataPortalInvoke (DataPortalEventArgs e)
 Called by the server-side DataPortal prior to calling the requested DataPortal_xyz method. More...
 
virtual void DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 Called by the server-side DataPortal after calling the requested DataPortal_xyz method. More...
 
virtual void DataPortal_OnDataPortalException (DataPortalEventArgs e, Exception ex)
 Called by the server-side DataPortal if an exception occurs during data access. More...
 
virtual void Child_OnDataPortalInvoke (DataPortalEventArgs e)
 Called by the server-side DataPortal prior to calling the requested DataPortal_XYZ method. More...
 
virtual void Child_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 Called by the server-side DataPortal after calling the requested DataPortal_XYZ method. More...
 
virtual void Child_OnDataPortalException (DataPortalEventArgs e, Exception ex)
 Called by the server-side DataPortal if an exception occurs during data access. More...
 
virtual void OnSaved (T newObject, Exception e, object userState)
 Raises the Saved event, indicating that the object has been saved, and providing a reference to the new object instance. More...
 
virtual void SetParent (Core.IParent parent)
 Used by BusinessListBase as a child object is created to tell the child object about its parent. More...
 
override void OnSetState (Csla.Serialization.Mobile.SerializationInfo info)
 Override this method to retrieve your field values from the MobileFormatter serialzation stream. More...
 
override void OnGetState (Csla.Serialization.Mobile.SerializationInfo info)
 Override this method to insert your field values into the MobileFormatter serialzation stream. More...
 
override void OnGetChildren (Csla.Serialization.Mobile.SerializationInfo info, Csla.Serialization.Mobile.MobileFormatter formatter)
 Override this method to insert child objects into the MobileFormatter serialization stream. More...
 
override void OnSetChildren (Csla.Serialization.Mobile.SerializationInfo info, Csla.Serialization.Mobile.MobileFormatter formatter)
 Override this method to get child objects from the MobileFormatter serialization stream. More...
 
- Properties inherited from Csla.BusinessBindingListBase< ChildList, Child >
ApplicationContext ApplicationContext [get]
 Gets the current ApplicationContext More...
 
bool IsDirty [get]
 Gets a value indicating whether this object's data has been changed. More...
 
virtual bool IsSelfValid [get]
 Gets a value indicating whether this object is currently in a valid state (has no broken validation rules). More...
 
virtual bool IsValid [get]
 Gets a value indicating whether this object is currently in a valid state (has no broken validation rules). More...
 
virtual bool IsSavable [get]
 Returns true if this object is both dirty and valid. More...
 
Core.IParent Parent [get]
 Provide access to the parent reference for use in child object code. More...
 
MobileList< C > DeletedList [get]
 A collection containing all child objects marked for deletion. More...
 
int EditLevel [get]
 Returns the current edit level of the object. More...
 
bool IsChild [get]
 Indicates whether this collection object is a child object. More...
 
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 
override bool IsBusy [get]
 Gets the busy status for this object and its child objects. More...
 

Detailed Description

Definition at line 19 of file Csla.test/ValidationRules/ChildList.cs.