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

Static Public Member Functions

static ESTransactionalRoot NewESTransactionalRoot ()
 
static ESTransactionalRoot GetESTransactionalRoot (int ID)
 
static void DeleteESTransactionalRoot (int ID)
 

Static Public Attributes

static string CONNECTION_STRING = WellKnownValues.DataPortalTestDatabase
 
static PropertyInfo< int > IDProperty = RegisterProperty<int>(c => c.ID)
 
static PropertyInfo< string > FirstNameProperty = RegisterProperty<string>(c => c.FirstName)
 
static PropertyInfo< string > LastNameProperty = RegisterProperty<string>(c => c.LastName)
 
static PropertyInfo< string > SmallColumnProperty = RegisterProperty<string>(c => c.SmallColumn)
 

Protected Member Functions

override void AddBusinessRules ()
 
void DataPortal_Create ()
 
void DataPortal_Fetch (object criteria)
 
void DataPortal_Insert ()
 
void DataPortal_Update ()
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (object criteria)
 
- Protected Member Functions inherited from Csla.BusinessBase< ESTransactionalRoot >
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 ID [get]
 
string FirstName [getset]
 
string LastName [getset]
 
string SmallColumn [getset]
 
- Properties inherited from Csla.BusinessBase< ESTransactionalRoot >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< ESTransactionalRoot >
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< ESTransactionalRoot >
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 18 of file ESTransactionalRoot.cs.

Member Function Documentation

◆ AddBusinessRules()

override void Csla.Test.DataPortal.ESTransactionalRoot.AddBusinessRules ( )
protected

Definition at line 55 of file ESTransactionalRoot.cs.

◆ DataPortal_Create()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_Create ( )
protected

Definition at line 100 of file ESTransactionalRoot.cs.

◆ DataPortal_Delete()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_Delete ( object  criteria)
protected

Definition at line 170 of file ESTransactionalRoot.cs.

◆ DataPortal_DeleteSelf()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_DeleteSelf ( )
protected

Definition at line 162 of file ESTransactionalRoot.cs.

◆ DataPortal_Fetch()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_Fetch ( object  criteria)
protected

Definition at line 108 of file ESTransactionalRoot.cs.

◆ DataPortal_Insert()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_Insert ( )
protected

Definition at line 118 of file ESTransactionalRoot.cs.

◆ DataPortal_Update()

void Csla.Test.DataPortal.ESTransactionalRoot.DataPortal_Update ( )
protected

Definition at line 154 of file ESTransactionalRoot.cs.

◆ DeleteESTransactionalRoot()

static void Csla.Test.DataPortal.ESTransactionalRoot.DeleteESTransactionalRoot ( int  ID)
static

Definition at line 74 of file ESTransactionalRoot.cs.

◆ GetESTransactionalRoot()

static ESTransactionalRoot Csla.Test.DataPortal.ESTransactionalRoot.GetESTransactionalRoot ( int  ID)
static

Definition at line 69 of file ESTransactionalRoot.cs.

◆ NewESTransactionalRoot()

static ESTransactionalRoot Csla.Test.DataPortal.ESTransactionalRoot.NewESTransactionalRoot ( )
static

Definition at line 64 of file ESTransactionalRoot.cs.

Member Data Documentation

◆ CONNECTION_STRING

string Csla.Test.DataPortal.ESTransactionalRoot.CONNECTION_STRING = WellKnownValues.DataPortalTestDatabase
static

Definition at line 23 of file ESTransactionalRoot.cs.

◆ FirstNameProperty

PropertyInfo<string> Csla.Test.DataPortal.ESTransactionalRoot.FirstNameProperty = RegisterProperty<string>(c => c.FirstName)
static

Definition at line 32 of file ESTransactionalRoot.cs.

◆ IDProperty

PropertyInfo<int> Csla.Test.DataPortal.ESTransactionalRoot.IDProperty = RegisterProperty<int>(c => c.ID)
static

Definition at line 25 of file ESTransactionalRoot.cs.

◆ LastNameProperty

PropertyInfo<string> Csla.Test.DataPortal.ESTransactionalRoot.LastNameProperty = RegisterProperty<string>(c => c.LastName)
static

Definition at line 39 of file ESTransactionalRoot.cs.

◆ SmallColumnProperty

PropertyInfo<string> Csla.Test.DataPortal.ESTransactionalRoot.SmallColumnProperty = RegisterProperty<string>(c => c.SmallColumn)
static

Definition at line 46 of file ESTransactionalRoot.cs.

Property Documentation

◆ FirstName

string Csla.Test.DataPortal.ESTransactionalRoot.FirstName
getset

Definition at line 33 of file ESTransactionalRoot.cs.

◆ ID

int Csla.Test.DataPortal.ESTransactionalRoot.ID
get

Definition at line 26 of file ESTransactionalRoot.cs.

◆ LastName

string Csla.Test.DataPortal.ESTransactionalRoot.LastName
getset

Definition at line 40 of file ESTransactionalRoot.cs.

◆ SmallColumn

string Csla.Test.DataPortal.ESTransactionalRoot.SmallColumn
getset

Definition at line 47 of file ESTransactionalRoot.cs.