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.Authorization.RootList Class Reference
Inheritance diagram for Csla.Test.Authorization.RootList:
Csla.BusinessListBase< RootList, ChildItem >

Public Member Functions

 RootList ()
 
- Public Member Functions inherited from Csla.BusinessListBase< RootList, ChildItem >
Clone ()
 Creates a clone of the object. More...
 
bool ContainsDeleted (C item)
 Returns true if the internal deleted list contains the specified child object. More...
 
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...
 
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...
 

Additional Inherited Members

- Protected Member Functions inherited from Csla.BusinessListBase< RootList, ChildItem >
 BusinessListBase ()
 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 object GetClone ()
 Creates a clone of the object. 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 C 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 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 ClearItems ()
 Clears the collection, moving all active items to the deleted list. More...
 
override void OnGetState (SerializationInfo info)
 Method called by MobileFormatter when an object should serialize its data. More...
 
override void OnSetState (SerializationInfo info)
 Method called by MobileFormatter when an object should be deserialized. More...
 
override void OnGetChildren (Csla.Serialization.Mobile.SerializationInfo info, Csla.Serialization.Mobile.MobileFormatter formatter)
 Method called by MobileFormatter when an object should serialize its child references. More...
 
override void OnSetChildren (Csla.Serialization.Mobile.SerializationInfo info, Csla.Serialization.Mobile.MobileFormatter formatter)
 Method called by MobileFormatter when an object should deserialize its child references. More...
 
void MarkAsChild ()
 Marks the object as being a child object. More...
 
override void OnDeserialized ()
 Reset parent references on deserialization. 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 Child_UpdateAsync (params object[] parameters)
 Asynchronously 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...
 
- Properties inherited from Csla.BusinessListBase< RootList, ChildItem >
ApplicationContext ApplicationContext [get]
 Gets the current ApplicationContext More...
 
MobileList< C > DeletedList [get]
 A collection containing all child objects marked for deletion. More...
 
Core.IParent Parent [get]
 Provide access to the parent reference for use in child object code. 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...
 
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 has changes, is valid, the user is authorized and the object is not busy. More...
 
override bool IsBusy [get]
 Gets the busy status for this object and its child objects. More...
 
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Detailed Description

Definition at line 632 of file AuthTests.cs.

Constructor & Destructor Documentation

◆ RootList()

Csla.Test.Authorization.RootList.RootList ( )

Definition at line 634 of file AuthTests.cs.