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

Classes

class  Criteria
 Criteria for DataPortal overrides
 

Protected Member Functions

override object GetIdValue ()
 The unique ID of this object More...
 
void DataPortal_Fetch (object criteria)
 Handles DataPortal fetch calls More...
 
void DataPortal_Update ()
 
void DataPortal_Delete (object criteria)
 
- Protected Member Functions inherited from Csla.BusinessBase< SimpleRoot >
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]
 The data value for this object More...
 
- Properties inherited from Csla.BusinessBase< SimpleRoot >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< SimpleRoot >
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< SimpleRoot >
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 SimpleRoot.cs.

Member Function Documentation

◆ DataPortal_Delete()

void Csla.Test.AppContext.SimpleRoot.DataPortal_Delete ( object  criteria)
protected

Parameters
criteria

Definition at line 115 of file SimpleRoot.cs.

◆ DataPortal_Fetch()

void Csla.Test.AppContext.SimpleRoot.DataPortal_Fetch ( object  criteria)
protected

Handles DataPortal fetch calls

Parameters
criteria

Definition at line 80 of file SimpleRoot.cs.

◆ DataPortal_Update()

void Csla.Test.AppContext.SimpleRoot.DataPortal_Update ( )
protected

Definition at line 92 of file SimpleRoot.cs.

◆ GetIdValue()

override object Csla.Test.AppContext.SimpleRoot.GetIdValue ( )
protectedvirtual

The unique ID of this object

Returns

Reimplemented from Csla.BusinessBase< SimpleRoot >.

Definition at line 22 of file SimpleRoot.cs.

Property Documentation

◆ Data

string Csla.Test.AppContext.SimpleRoot.Data
getset

The data value for this object

Definition at line 29 of file SimpleRoot.cs.