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.
cslalighttest.CslaDataProvider.Customer Class Reference
Inheritance diagram for cslalighttest.CslaDataProvider.Customer:
Csla.BusinessBase< Customer > Csla.BusinessBase< Customer >

Classes

class  FetchCriteria
 

Protected Member Functions

override void AddBusinessRules ()
 
void DataPortal_Fetch (int criteria, [Inject] IChildDataPortal< CustomerContactList > childDataPortal)
 
void DataPortal_Create (int criteria, [Inject] IChildDataPortal< CustomerContactList > childDataPortal)
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (int criteria)
 
void DataPortal_Insert ([Inject] IChildDataPortal< CustomerContactList > contactsListDataPortal)
 
void DataPortal_Update ([Inject] IChildDataPortal< CustomerContactList > contactsListDataPortal)
 
override void AddBusinessRules ()
 
void DataPortal_Fetch (int criteria)
 
void DataPortal_Create (int criteria)
 
void DataPortal_DeleteSelf ()
 
void DataPortal_Delete (int criteria)
 
void DataPortal_Insert ()
 
void DataPortal_Update ()
 
- Protected Member Functions inherited from Csla.BusinessBase< Customer >
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 [getset]
 
string Name [getset]
 
string Method [getset]
 
string DateCreated [getset]
 
bool ThrowException [getset]
 
DateTimeOffset DateTimeOffsetNull [getset]
 
DateTimeOffset DateTimeOffsetNotNull [getset]
 
DateTimeOffset? DateTimeOffsetNullable [getset]
 
CustomeType Type [getset]
 
CustomerContactList Contacts [get]
 
- Properties inherited from Csla.BusinessBase< Customer >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< Customer >
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< Customer >
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 27 of file Fakes/Server/CslaDataProvider/Customer.cs.

Member Function Documentation

◆ AddBusinessRules() [1/2]

override void cslalighttest.CslaDataProvider.Customer.AddBusinessRules ( )
protected

Definition at line 174 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ AddBusinessRules() [2/2]

override void cslalighttest.CslaDataProvider.Customer.AddBusinessRules ( )
protected

◆ DataPortal_Create() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Create ( int  criteria)
protected

◆ DataPortal_Create() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Create ( int  criteria,
[Inject] IChildDataPortal< CustomerContactList childDataPortal 
)
protected

Definition at line 226 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DataPortal_Delete() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Delete ( int  criteria)
protected

Definition at line 242 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DataPortal_Delete() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Delete ( int  criteria)
protected

◆ DataPortal_DeleteSelf() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_DeleteSelf ( )
protected

Definition at line 236 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DataPortal_DeleteSelf() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_DeleteSelf ( )
protected

◆ DataPortal_Fetch() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Fetch ( int  criteria)
protected

◆ DataPortal_Fetch() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Fetch ( int  criteria,
[Inject] IChildDataPortal< CustomerContactList childDataPortal 
)
protected

Definition at line 213 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DataPortal_Insert() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Insert ( )
protected

◆ DataPortal_Insert() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Insert ( [Inject] IChildDataPortal< CustomerContactList contactsListDataPortal)
protected

Definition at line 248 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DataPortal_Update() [1/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Update ( )
protected

◆ DataPortal_Update() [2/2]

void cslalighttest.CslaDataProvider.Customer.DataPortal_Update ( [Inject] IChildDataPortal< CustomerContactList contactsListDataPortal)
protected

Definition at line 255 of file Fakes/Server/CslaDataProvider/Customer.cs.

Property Documentation

◆ Contacts

CustomerContactList cslalighttest.CslaDataProvider.Customer.Contacts
get

Definition at line 166 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DateCreated

string cslalighttest.CslaDataProvider.Customer.DateCreated
getset

Definition at line 82 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DateTimeOffsetNotNull

DateTimeOffset cslalighttest.CslaDataProvider.Customer.DateTimeOffsetNotNull
getset

Definition at line 126 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DateTimeOffsetNull

DateTimeOffset cslalighttest.CslaDataProvider.Customer.DateTimeOffsetNull
getset

Definition at line 113 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ DateTimeOffsetNullable

DateTimeOffset cslalighttest.CslaDataProvider.Customer.DateTimeOffsetNullable
getset

Definition at line 139 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ Id

int cslalighttest.CslaDataProvider.Customer.Id
getset

Definition at line 42 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ Method

string cslalighttest.CslaDataProvider.Customer.Method
getset

Definition at line 68 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ Name

string cslalighttest.CslaDataProvider.Customer.Name
getset

Definition at line 55 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ ThrowException

bool cslalighttest.CslaDataProvider.Customer.ThrowException
getset

Definition at line 100 of file Fakes/Server/CslaDataProvider/Customer.cs.

◆ Type

CustomeType cslalighttest.CslaDataProvider.Customer.Type
getset

Definition at line 152 of file Fakes/Server/CslaDataProvider/Customer.cs.