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

Public Member Functions

void CheckRules ()
 
- Public Member Functions inherited from Csla.BusinessBase< CascadeRoot >
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 Public Attributes

static readonly PropertyInfo< int > Num1Property = RegisterProperty<int>(c => c.Num1)
 
static readonly PropertyInfo< int > Num2Property = RegisterProperty<int>(c => c.Num2)
 
static readonly PropertyInfo< int > Num3Property = RegisterProperty<int>(c => c.Num3)
 
static readonly PropertyInfo< int > Num4Property = RegisterProperty<int>(c => c.Num4)
 
static readonly PropertyInfo< int > Num5Property = RegisterProperty<int>(c => c.Num5)
 

Protected Member Functions

override void AddBusinessRules ()
 
- Protected Member Functions inherited from Csla.BusinessBase< CascadeRoot >
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

int Num1 [getset]
 
int Num2 [getset]
 
int Num3 [getset]
 
int Num4 [getset]
 
int Num5 [getset]
 
int ValueAa [getset]
 
int ValueAb [getset]
 
int ValueAc [getset]
 
int ValueAd [getset]
 
int ValueAe [getset]
 
int ValueAf [getset]
 
int ValueAg [getset]
 
int ValueBa [getset]
 
int ValueBb [getset]
 
decimal ValueCa [getset]
 
decimal ValueCb [getset]
 
decimal ValueCc [getset]
 
decimal ValueCd [getset]
 
decimal ValueCe [getset]
 
bool CascadeOnDirtyProperties [getset]
 
- Properties inherited from Csla.BusinessBase< CascadeRoot >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.BusinessBase< CascadeRoot >
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 12 of file CascadeRoot.cs.

Member Function Documentation

◆ AddBusinessRules()

override void Csla.Test.ValidationRules.CascadeRoot.AddBusinessRules ( )
protected

Definition at line 151 of file CascadeRoot.cs.

◆ CheckRules()

void Csla.Test.ValidationRules.CascadeRoot.CheckRules ( )

Definition at line 14 of file CascadeRoot.cs.

Member Data Documentation

◆ Num1Property

readonly PropertyInfo<int> Csla.Test.ValidationRules.CascadeRoot.Num1Property = RegisterProperty<int>(c => c.Num1)
static

Definition at line 18 of file CascadeRoot.cs.

◆ Num2Property

readonly PropertyInfo<int> Csla.Test.ValidationRules.CascadeRoot.Num2Property = RegisterProperty<int>(c => c.Num2)
static

Definition at line 25 of file CascadeRoot.cs.

◆ Num3Property

readonly PropertyInfo<int> Csla.Test.ValidationRules.CascadeRoot.Num3Property = RegisterProperty<int>(c => c.Num3)
static

Definition at line 32 of file CascadeRoot.cs.

◆ Num4Property

readonly PropertyInfo<int> Csla.Test.ValidationRules.CascadeRoot.Num4Property = RegisterProperty<int>(c => c.Num4)
static

Definition at line 39 of file CascadeRoot.cs.

◆ Num5Property

readonly PropertyInfo<int> Csla.Test.ValidationRules.CascadeRoot.Num5Property = RegisterProperty<int>(c => c.Num5)
static

Definition at line 46 of file CascadeRoot.cs.

Property Documentation

◆ CascadeOnDirtyProperties

bool Csla.Test.ValidationRules.CascadeRoot.CascadeOnDirtyProperties
getset

Definition at line 180 of file CascadeRoot.cs.

◆ Num1

int Csla.Test.ValidationRules.CascadeRoot.Num1
getset

Definition at line 19 of file CascadeRoot.cs.

◆ Num2

int Csla.Test.ValidationRules.CascadeRoot.Num2
getset

Definition at line 26 of file CascadeRoot.cs.

◆ Num3

int Csla.Test.ValidationRules.CascadeRoot.Num3
getset

Definition at line 33 of file CascadeRoot.cs.

◆ Num4

int Csla.Test.ValidationRules.CascadeRoot.Num4
getset

Definition at line 40 of file CascadeRoot.cs.

◆ Num5

int Csla.Test.ValidationRules.CascadeRoot.Num5
getset

Definition at line 47 of file CascadeRoot.cs.

◆ ValueAa

int Csla.Test.ValidationRules.CascadeRoot.ValueAa
getset

Definition at line 54 of file CascadeRoot.cs.

◆ ValueAb

int Csla.Test.ValidationRules.CascadeRoot.ValueAb
getset

Definition at line 61 of file CascadeRoot.cs.

◆ ValueAc

int Csla.Test.ValidationRules.CascadeRoot.ValueAc
getset

Definition at line 68 of file CascadeRoot.cs.

◆ ValueAd

int Csla.Test.ValidationRules.CascadeRoot.ValueAd
getset

Definition at line 75 of file CascadeRoot.cs.

◆ ValueAe

int Csla.Test.ValidationRules.CascadeRoot.ValueAe
getset

Definition at line 82 of file CascadeRoot.cs.

◆ ValueAf

int Csla.Test.ValidationRules.CascadeRoot.ValueAf
getset

Definition at line 89 of file CascadeRoot.cs.

◆ ValueAg

int Csla.Test.ValidationRules.CascadeRoot.ValueAg
getset

Definition at line 96 of file CascadeRoot.cs.

◆ ValueBa

int Csla.Test.ValidationRules.CascadeRoot.ValueBa
getset

Definition at line 103 of file CascadeRoot.cs.

◆ ValueBb

int Csla.Test.ValidationRules.CascadeRoot.ValueBb
getset

Definition at line 110 of file CascadeRoot.cs.

◆ ValueCa

decimal Csla.Test.ValidationRules.CascadeRoot.ValueCa
getset

Definition at line 117 of file CascadeRoot.cs.

◆ ValueCb

decimal Csla.Test.ValidationRules.CascadeRoot.ValueCb
getset

Definition at line 124 of file CascadeRoot.cs.

◆ ValueCc

decimal Csla.Test.ValidationRules.CascadeRoot.ValueCc
getset

Definition at line 131 of file CascadeRoot.cs.

◆ ValueCd

decimal Csla.Test.ValidationRules.CascadeRoot.ValueCd
getset

Definition at line 138 of file CascadeRoot.cs.

◆ ValueCe

decimal Csla.Test.ValidationRules.CascadeRoot.ValueCe
getset

Definition at line 145 of file CascadeRoot.cs.