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

Static Public Member Functions

static TestBizObj NewNoCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj NewCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj NewOtherCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj GetNoCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj GetNullCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj GetCriteria (IDataPortal< TestBizObj > dataPortal)
 
static TestBizObj GetOtherCriteria (IDataPortal< TestBizObj > dataPortal)
 

Protected Member Functions

override object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
void DataPortal_Create ()
 
void DataPortal_Fetch (object criteria)
 
- Protected Member Functions inherited from Csla.BusinessBase< TestBizObj >
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...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< TestBizObj >
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< TestBizObj >
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...
 
- Properties inherited from Csla.BusinessBase< TestBizObj >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Detailed Description

Definition at line 144 of file DPMethodOverloadTests.cs.

Member Function Documentation

◆ DataPortal_Create()

void Csla.Test.IO.TestBizObj.DataPortal_Create ( )
protected

Definition at line 197 of file DPMethodOverloadTests.cs.

◆ DataPortal_Fetch()

void Csla.Test.IO.TestBizObj.DataPortal_Fetch ( object  criteria)
protected

Definition at line 226 of file DPMethodOverloadTests.cs.

◆ GetCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.GetCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 176 of file DPMethodOverloadTests.cs.

◆ GetIdValue()

override object Csla.Test.IO.TestBizObj.GetIdValue ( )
protectedvirtual

Override this method to return a unique identifying value for this object.

Reimplemented from Csla.BusinessBase< TestBizObj >.

Definition at line 146 of file DPMethodOverloadTests.cs.

◆ GetNoCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.GetNoCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 166 of file DPMethodOverloadTests.cs.

◆ GetNullCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.GetNullCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 171 of file DPMethodOverloadTests.cs.

◆ GetOtherCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.GetOtherCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 181 of file DPMethodOverloadTests.cs.

◆ NewCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.NewCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 156 of file DPMethodOverloadTests.cs.

◆ NewNoCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.NewNoCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 151 of file DPMethodOverloadTests.cs.

◆ NewOtherCriteria()

static TestBizObj Csla.Test.IO.TestBizObj.NewOtherCriteria ( IDataPortal< TestBizObj dataPortal)
static

Definition at line 161 of file DPMethodOverloadTests.cs.