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.Basic.Root Class Reference
Inheritance diagram for Csla.Test.Basic.Root:
Csla.BusinessBase< Root > Csla.BusinessBase< Root >

Classes

class  Criteria
 

Static Public Attributes

static PropertyInfo< string > DataProperty = RegisterProperty<string>(c => c.Data)
 
static PropertyInfo< int > CreatedDomainProperty = RegisterProperty<int>(c => c.CreatedDomain)
 
static readonly PropertyInfo< ChildrenChildrenProperty = RegisterProperty<Children>(c => c.Children)
 
static PropertyInfo< ChildrenChildrenProperty = RegisterProperty<Children>(c => c.Children)
 

Protected Member Functions

void DataPortal_Fetch (Criteria criteria, [Inject] IChildDataPortal< Children > dataPortal)
 
void DataPortal_Insert ()
 
void DataPortal_Update ()
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (object criteria)
 
override void OnDeserialized (System.Runtime.Serialization.StreamingContext context)
 
override void DataPortal_OnDataPortalInvoke (DataPortalEventArgs e)
 
override void DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 
void DataPortal_Fetch (object criteria, [Inject] IDataPortal< Children > childrenDataPortal)
 
void DataPortal_Insert ()
 
void DataPortal_Update ()
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (object criteria)
 
override void OnDeserialized (System.Runtime.Serialization.StreamingContext context)
 
override void DataPortal_OnDataPortalInvoke (DataPortalEventArgs e)
 
override void DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 
- Protected Member Functions inherited from Csla.BusinessBase< Root >
virtual object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
virtual async Task< T > SaveAsync (bool forceUpdate, object userState, bool isSync)
 Saves the object to the database. 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...
 

Properties

string Data [getset]
 
int CreatedDomain [get]
 
Children Children [get]
 
override bool IsDirty [get]
 start editing More...
 
- Properties inherited from Csla.BusinessBase< Root >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< Root >
override string ToString ()
 Returns a text representation of this object by returning the GetIdValue value in text form. More...
 
Clone ()
 Creates a clone of the object. More...
 
Save ()
 Saves the object to the database. More...
 
Save (bool forceUpdate)
 Saves the object to the database, forcing IsNew to false and IsDirty to True. More...
 
async Task< T > SaveAsync ()
 Saves the object to the database. More...
 
async Task< T > SaveAsync (bool forceUpdate)
 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...
 
async Task SaveAndMergeAsync (bool forceUpdate)
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 
- Static Protected Member Functions inherited from Csla.BusinessBase< Root >
static PropertyInfo< P > RegisterProperty< P > (PropertyInfo< P > info)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static MethodInfo RegisterMethod (string methodName)
 Registers a method for use in Authorization. More...
 
static MethodInfo RegisterMethod (Expression< Action< T > > methodLambdaExpression)
 Registers a method for use in Authorization. More...
 

Detailed Description

Definition at line 15 of file csla.netcore.test/Basic/Root.cs.

Member Function Documentation

◆ DataPortal_Delete() [1/2]

void Csla.Test.Basic.Root.DataPortal_Delete ( object  criteria)
protected

Definition at line 98 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_Delete() [2/2]

void Csla.Test.Basic.Root.DataPortal_Delete ( object  criteria)
protected

Definition at line 117 of file Csla.test/Basic/Root.cs.

◆ DataPortal_DeleteSelf() [1/2]

void Csla.Test.Basic.Root.DataPortal_DeleteSelf ( )
protected

Definition at line 92 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_DeleteSelf() [2/2]

void Csla.Test.Basic.Root.DataPortal_DeleteSelf ( )
protected

Definition at line 111 of file Csla.test/Basic/Root.cs.

◆ DataPortal_Fetch() [1/2]

void Csla.Test.Basic.Root.DataPortal_Fetch ( Criteria  criteria,
[Inject] IChildDataPortal< Children dataPortal 
)
protected

Definition at line 67 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_Fetch() [2/2]

void Csla.Test.Basic.Root.DataPortal_Fetch ( object  criteria,
[Inject] IDataPortal< Children childrenDataPortal 
)
protected

Definition at line 77 of file Csla.test/Basic/Root.cs.

◆ DataPortal_Insert() [1/2]

void Csla.Test.Basic.Root.DataPortal_Insert ( )
protected

Definition at line 79 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_Insert() [2/2]

void Csla.Test.Basic.Root.DataPortal_Insert ( )
protected

Definition at line 90 of file Csla.test/Basic/Root.cs.

◆ DataPortal_OnDataPortalInvoke() [1/2]

override void Csla.Test.Basic.Root.DataPortal_OnDataPortalInvoke ( DataPortalEventArgs  e)
protected

Definition at line 108 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_OnDataPortalInvoke() [2/2]

override void Csla.Test.Basic.Root.DataPortal_OnDataPortalInvoke ( DataPortalEventArgs  e)
protected

Definition at line 127 of file Csla.test/Basic/Root.cs.

◆ DataPortal_OnDataPortalInvokeComplete() [1/2]

override void Csla.Test.Basic.Root.DataPortal_OnDataPortalInvokeComplete ( DataPortalEventArgs  e)
protected

Definition at line 113 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_OnDataPortalInvokeComplete() [2/2]

override void Csla.Test.Basic.Root.DataPortal_OnDataPortalInvokeComplete ( DataPortalEventArgs  e)
protected

Definition at line 132 of file Csla.test/Basic/Root.cs.

◆ DataPortal_Update() [1/2]

void Csla.Test.Basic.Root.DataPortal_Update ( )
protected

Definition at line 85 of file csla.netcore.test/Basic/Root.cs.

◆ DataPortal_Update() [2/2]

void Csla.Test.Basic.Root.DataPortal_Update ( )
protected

Definition at line 104 of file Csla.test/Basic/Root.cs.

◆ OnDeserialized() [1/2]

override void Csla.Test.Basic.Root.OnDeserialized ( System.Runtime.Serialization.StreamingContext  context)
protected

Definition at line 103 of file csla.netcore.test/Basic/Root.cs.

◆ OnDeserialized() [2/2]

override void Csla.Test.Basic.Root.OnDeserialized ( System.Runtime.Serialization.StreamingContext  context)
protected

Definition at line 122 of file Csla.test/Basic/Root.cs.

Member Data Documentation

◆ ChildrenProperty [1/2]

readonly PropertyInfo<Children> Csla.Test.Basic.Root.ChildrenProperty = RegisterProperty<Children>(c => c.Children)
static

Definition at line 31 of file csla.netcore.test/Basic/Root.cs.

◆ ChildrenProperty [2/2]

PropertyInfo<Children> Csla.Test.Basic.Root.ChildrenProperty = RegisterProperty<Children>(c => c.Children)
static

Definition at line 17 of file Csla.test/Basic/Root.cs.

◆ CreatedDomainProperty

static PropertyInfo< int > Csla.Test.Basic.Root.CreatedDomainProperty = RegisterProperty<int>(c => c.CreatedDomain)
static

Definition at line 24 of file csla.netcore.test/Basic/Root.cs.

◆ DataProperty

static PropertyInfo< string > Csla.Test.Basic.Root.DataProperty = RegisterProperty<string>(c => c.Data)
static

Definition at line 17 of file csla.netcore.test/Basic/Root.cs.

Property Documentation

◆ Children

Children Csla.Test.Basic.Root.Children
get

Definition at line 32 of file csla.netcore.test/Basic/Root.cs.

◆ CreatedDomain

int Csla.Test.Basic.Root.CreatedDomain
get

Definition at line 25 of file csla.netcore.test/Basic/Root.cs.

◆ Data

string Csla.Test.Basic.Root.Data
getset

Definition at line 18 of file csla.netcore.test/Basic/Root.cs.

◆ IsDirty

override bool Csla.Test.Basic.Root.IsDirty
get

start editing

Definition at line 40 of file Csla.test/Basic/Root.cs.