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

Classes

class  CheckRule
 

Static Public Member Functions

static LocationBusinessBase GetLocationBusinessBase (IDataPortal< LocationBusinessBase > dataPortal)
 

Protected Member Functions

override void AddBusinessRules ()
 
void Fetch ([Inject]IDataPortal< LocationBusinessBase > dataPortal)
 
void Fetch (int criteria)
 
void DataPortal_Update ()
 
- Protected Member Functions inherited from Csla.BusinessBase< LocationBusinessBase >
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...
 

Static Protected Attributes

static PropertyInfo< string > DataProperty = RegisterProperty<string>(new PropertyInfo<string>("Data"))
 
static PropertyInfo< string > RuleProperty = RegisterProperty<string>(new PropertyInfo<string>("Rule"))
 

Properties

string Data [getset]
 
string NestedData [getset]
 
string Rule [getset]
 
- Properties inherited from Csla.BusinessBase< LocationBusinessBase >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

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

Member Function Documentation

◆ AddBusinessRules()

override void Csla.Test.LogicalExecutionLocation.LocationBusinessBase.AddBusinessRules ( )
protected

Definition at line 52 of file LocationBusinessBase.cs.

◆ DataPortal_Update()

void Csla.Test.LogicalExecutionLocation.LocationBusinessBase.DataPortal_Update ( )
protected

Definition at line 85 of file LocationBusinessBase.cs.

◆ Fetch() [1/2]

void Csla.Test.LogicalExecutionLocation.LocationBusinessBase.Fetch ( [Inject] IDataPortal< LocationBusinessBase dataPortal)
protected

Definition at line 69 of file LocationBusinessBase.cs.

◆ Fetch() [2/2]

void Csla.Test.LogicalExecutionLocation.LocationBusinessBase.Fetch ( int  criteria)
protected

Definition at line 79 of file LocationBusinessBase.cs.

◆ GetLocationBusinessBase()

static LocationBusinessBase Csla.Test.LogicalExecutionLocation.LocationBusinessBase.GetLocationBusinessBase ( IDataPortal< LocationBusinessBase dataPortal)
static

Definition at line 44 of file LocationBusinessBase.cs.

Member Data Documentation

◆ DataProperty

PropertyInfo<string> Csla.Test.LogicalExecutionLocation.LocationBusinessBase.DataProperty = RegisterProperty<string>(new PropertyInfo<string>("Data"))
staticprotected

Definition at line 22 of file LocationBusinessBase.cs.

◆ RuleProperty

PropertyInfo<string> Csla.Test.LogicalExecutionLocation.LocationBusinessBase.RuleProperty = RegisterProperty<string>(new PropertyInfo<string>("Rule"))
staticprotected

Definition at line 36 of file LocationBusinessBase.cs.

Property Documentation

◆ Data

string Csla.Test.LogicalExecutionLocation.LocationBusinessBase.Data
getset

Definition at line 23 of file LocationBusinessBase.cs.

◆ NestedData

string Csla.Test.LogicalExecutionLocation.LocationBusinessBase.NestedData
getset

Definition at line 30 of file LocationBusinessBase.cs.

◆ Rule

string Csla.Test.LogicalExecutionLocation.LocationBusinessBase.Rule
getset

Definition at line 37 of file LocationBusinessBase.cs.