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

Classes

class  Criteria
 

Public Member Functions

DpRoot CloneThis ()
 
- Public Member Functions inherited from Csla.BusinessBase< DpRoot >
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 PropertyInfo< string > DataProperty = RegisterProperty<string>(c => c.Data)
 
static PropertyInfo< string > DenyReadOnPropertyProperty = RegisterProperty<string>(c => c.DenyReadOnProperty)
 
static PropertyInfo< string > DenyWriteOnPropertyProperty = RegisterProperty<string>(c => c.DenyWriteOnProperty)
 
static PropertyInfo< string > DenyReadWriteOnPropertyProperty = RegisterProperty<string>(c => c.DenyReadWriteOnProperty)
 
static PropertyInfo< string > AllowReadWriteOnPropertyProperty = RegisterProperty<string>(c => c.AllowReadWriteOnProperty)
 

Protected Member Functions

void DataPortal_Fetch (object criteria)
 
void DataPortal_Insert ()
 
void DataPortal_Update ()
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (object criteria)
 
override void DataPortal_OnDataPortalInvoke (DataPortalEventArgs e)
 
override void DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 
override void AddBusinessRules ()
 
- Protected Member Functions inherited from Csla.BusinessBase< DpRoot >
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]
 
string Auth [getset]
 
string DenyReadOnProperty [getset]
 
string DenyWriteOnProperty [getset]
 
string DenyReadWriteOnProperty [getset]
 
string AllowReadWriteOnProperty [getset]
 
- Properties inherited from Csla.BusinessBase< DpRoot >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

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

Member Function Documentation

◆ AddBusinessRules()

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

Definition at line 131 of file DpRoot.cs.

◆ CloneThis()

DpRoot Csla.Test.DataPortal.DpRoot.CloneThis ( )

Definition at line 70 of file DpRoot.cs.

◆ DataPortal_Delete()

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

Definition at line 112 of file DpRoot.cs.

◆ DataPortal_DeleteSelf()

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

Definition at line 106 of file DpRoot.cs.

◆ DataPortal_Fetch()

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

Definition at line 85 of file DpRoot.cs.

◆ DataPortal_Insert()

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

Definition at line 94 of file DpRoot.cs.

◆ DataPortal_OnDataPortalInvoke()

override void Csla.Test.DataPortal.DpRoot.DataPortal_OnDataPortalInvoke ( DataPortalEventArgs  e)
protected

Definition at line 117 of file DpRoot.cs.

◆ DataPortal_OnDataPortalInvokeComplete()

override void Csla.Test.DataPortal.DpRoot.DataPortal_OnDataPortalInvokeComplete ( DataPortalEventArgs  e)
protected

Definition at line 122 of file DpRoot.cs.

◆ DataPortal_Update()

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

Definition at line 100 of file DpRoot.cs.

Member Data Documentation

◆ AllowReadWriteOnPropertyProperty

PropertyInfo<string> Csla.Test.DataPortal.DpRoot.AllowReadWriteOnPropertyProperty = RegisterProperty<string>(c => c.AllowReadWriteOnProperty)
static

Definition at line 204 of file DpRoot.cs.

◆ DataProperty

PropertyInfo<string> Csla.Test.DataPortal.DpRoot.DataProperty = RegisterProperty<string>(c => c.Data)
static

Definition at line 23 of file DpRoot.cs.

◆ DenyReadOnPropertyProperty

PropertyInfo<string> Csla.Test.DataPortal.DpRoot.DenyReadOnPropertyProperty = RegisterProperty<string>(c => c.DenyReadOnProperty)
static

Definition at line 145 of file DpRoot.cs.

◆ DenyReadWriteOnPropertyProperty

PropertyInfo<string> Csla.Test.DataPortal.DpRoot.DenyReadWriteOnPropertyProperty = RegisterProperty<string>(c => c.DenyReadWriteOnProperty)
static

Definition at line 183 of file DpRoot.cs.

◆ DenyWriteOnPropertyProperty

PropertyInfo<string> Csla.Test.DataPortal.DpRoot.DenyWriteOnPropertyProperty = RegisterProperty<string>(c => c.DenyWriteOnProperty)
static

Definition at line 164 of file DpRoot.cs.

Property Documentation

◆ AllowReadWriteOnProperty

string Csla.Test.DataPortal.DpRoot.AllowReadWriteOnProperty
getset

Definition at line 205 of file DpRoot.cs.

◆ Auth

string Csla.Test.DataPortal.DpRoot.Auth
getset

Definition at line 30 of file DpRoot.cs.

◆ Data

string Csla.Test.DataPortal.DpRoot.Data
getset

Definition at line 24 of file DpRoot.cs.

◆ DenyReadOnProperty

string Csla.Test.DataPortal.DpRoot.DenyReadOnProperty
getset

Definition at line 146 of file DpRoot.cs.

◆ DenyReadWriteOnProperty

string Csla.Test.DataPortal.DpRoot.DenyReadWriteOnProperty
getset

Definition at line 184 of file DpRoot.cs.

◆ DenyWriteOnProperty

string Csla.Test.DataPortal.DpRoot.DenyWriteOnProperty
getset

Definition at line 165 of file DpRoot.cs.