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

Public Member Functions

 BypassBusinessBase ()
 
void LoadIdByPass (int id)
 
void LoadIdByNestedPass (int id)
 
void LoadId (int id)
 
int ReadIdByPass ()
 
int ReadId ()
 
void LoadId2ByPass (int id)
 
void LoadId2 (int id)
 
int ReadId2ByPass ()
 
int ReadId2 ()
 
void LoadId3ByPass (int id)
 
void LoadId3 (int id)
 
int ReadId3ByPass ()
 
int ReadId3 ()
 
void LoadId4ByPass (int id)
 
void LoadId4 (int id)
 
int ReadId4ByPass ()
 
int ReadId4 ()
 
- Public Member Functions inherited from Csla.BusinessBase< BypassBusinessBase >
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...
 

Protected Member Functions

override void AddBusinessRules ()
 
- Protected Member Functions inherited from Csla.BusinessBase< BypassBusinessBase >
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< int > IdProperty = RegisterProperty<int>(nameof(Id), "Id")
 
static PropertyInfo< int > Id2Property = RegisterProperty<int>(c => c.Id2, "Id2")
 
static PropertyInfo< int > Id3Property = RegisterProperty<int>(c => c.Id3, "Id3", 0, RelationshipTypes.PrivateField)
 
static PropertyInfo< int > Id4Property = RegisterProperty<int>(c => c.Id4, "Id4", 0, RelationshipTypes.PrivateField)
 

Properties

int Id [getset]
 
int Id2 [getset]
 
int Id3 [getset]
 
int Id4 [getset]
 
- Properties inherited from Csla.BusinessBase< BypassBusinessBase >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ BypassBusinessBase()

Csla.Test.BypassPropertyChecks.BypassBusinessBase.BypassBusinessBase ( )

Definition at line 18 of file BypassBusinessBase.cs.

Member Function Documentation

◆ AddBusinessRules()

override void Csla.Test.BypassPropertyChecks.BypassBusinessBase.AddBusinessRules ( )
protected

Definition at line 53 of file BypassBusinessBase.cs.

◆ LoadId()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId ( int  id)

Definition at line 86 of file BypassBusinessBase.cs.

◆ LoadId2()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId2 ( int  id)

Definition at line 112 of file BypassBusinessBase.cs.

◆ LoadId2ByPass()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId2ByPass ( int  id)

Definition at line 104 of file BypassBusinessBase.cs.

◆ LoadId3()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId3 ( int  id)

Definition at line 139 of file BypassBusinessBase.cs.

◆ LoadId3ByPass()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId3ByPass ( int  id)

Definition at line 131 of file BypassBusinessBase.cs.

◆ LoadId4()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId4 ( int  id)

Definition at line 165 of file BypassBusinessBase.cs.

◆ LoadId4ByPass()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId4ByPass ( int  id)

Definition at line 157 of file BypassBusinessBase.cs.

◆ LoadIdByNestedPass()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadIdByNestedPass ( int  id)

Definition at line 73 of file BypassBusinessBase.cs.

◆ LoadIdByPass()

void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadIdByPass ( int  id)

Definition at line 65 of file BypassBusinessBase.cs.

◆ ReadId()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId ( )

Definition at line 99 of file BypassBusinessBase.cs.

◆ ReadId2()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId2 ( )

Definition at line 125 of file BypassBusinessBase.cs.

◆ ReadId2ByPass()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId2ByPass ( )

Definition at line 117 of file BypassBusinessBase.cs.

◆ ReadId3()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId3 ( )

Definition at line 152 of file BypassBusinessBase.cs.

◆ ReadId3ByPass()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId3ByPass ( )

Definition at line 144 of file BypassBusinessBase.cs.

◆ ReadId4()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId4 ( )

Definition at line 178 of file BypassBusinessBase.cs.

◆ ReadId4ByPass()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId4ByPass ( )

Definition at line 170 of file BypassBusinessBase.cs.

◆ ReadIdByPass()

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadIdByPass ( )

Definition at line 91 of file BypassBusinessBase.cs.

Member Data Documentation

◆ Id2Property

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id2Property = RegisterProperty<int>(c => c.Id2, "Id2")
staticprotected

Definition at line 30 of file BypassBusinessBase.cs.

◆ Id3Property

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id3Property = RegisterProperty<int>(c => c.Id3, "Id3", 0, RelationshipTypes.PrivateField)
staticprotected

Definition at line 38 of file BypassBusinessBase.cs.

◆ Id4Property

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id4Property = RegisterProperty<int>(c => c.Id4, "Id4", 0, RelationshipTypes.PrivateField)
staticprotected

Definition at line 46 of file BypassBusinessBase.cs.

◆ IdProperty

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBase.IdProperty = RegisterProperty<int>(nameof(Id), "Id")
staticprotected

Definition at line 23 of file BypassBusinessBase.cs.

Property Documentation

◆ Id

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id
getset

Definition at line 24 of file BypassBusinessBase.cs.

◆ Id2

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id2
getset

Definition at line 31 of file BypassBusinessBase.cs.

◆ Id3

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id3
getset

Definition at line 39 of file BypassBusinessBase.cs.

◆ Id4

int Csla.Test.BypassPropertyChecks.BypassBusinessBase.Id4
getset

Definition at line 47 of file BypassBusinessBase.cs.