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

Public Member Functions

void LoadIdByPass (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< BypassBusinessBaseUsingFactory >
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 Member Functions

static BypassBusinessBaseUsingFactory GetObject (IDataPortal< BypassBusinessBaseUsingFactory > dataPortal)
 

Protected Member Functions

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

Properties

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

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.BusinessBase< BypassBusinessBaseUsingFactory >
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 BypassBusinessBaseUsingFactory.cs.

Member Function Documentation

◆ AddBusinessRules()

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

Definition at line 60 of file BypassBusinessBaseUsingFactory.cs.

◆ GetObject()

static BypassBusinessBaseUsingFactory Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.GetObject ( IDataPortal< BypassBusinessBaseUsingFactory dataPortal)
static

Definition at line 25 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId()

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

Definition at line 80 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId2()

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

Definition at line 106 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId2ByPass()

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

Definition at line 98 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId3()

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

Definition at line 133 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId3ByPass()

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

Definition at line 125 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId4()

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

Definition at line 159 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadId4ByPass()

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

Definition at line 151 of file BypassBusinessBaseUsingFactory.cs.

◆ LoadIdByPass()

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

Definition at line 72 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId()

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

Definition at line 93 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId2()

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

Definition at line 119 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId2ByPass()

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

Definition at line 111 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId3()

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

Definition at line 146 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId3ByPass()

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

Definition at line 138 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId4()

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

Definition at line 172 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadId4ByPass()

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

Definition at line 164 of file BypassBusinessBaseUsingFactory.cs.

◆ ReadIdByPass()

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

Definition at line 85 of file BypassBusinessBaseUsingFactory.cs.

Member Data Documentation

◆ Id2Property

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

Definition at line 37 of file BypassBusinessBaseUsingFactory.cs.

◆ Id3Property

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id3Property = RegisterProperty<int>(c => c.Id3, "Id3")
staticprotected

Definition at line 45 of file BypassBusinessBaseUsingFactory.cs.

◆ Id4Property

PropertyInfo<int> Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id4Property = RegisterProperty<int>(c => c.Id4, "Id4")
staticprotected

Definition at line 53 of file BypassBusinessBaseUsingFactory.cs.

◆ IdProperty

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

Definition at line 30 of file BypassBusinessBaseUsingFactory.cs.

Property Documentation

◆ Id

int Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id
getset

Definition at line 31 of file BypassBusinessBaseUsingFactory.cs.

◆ Id2

int Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id2
getset

Definition at line 38 of file BypassBusinessBaseUsingFactory.cs.

◆ Id3

int Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id3
getset

Definition at line 46 of file BypassBusinessBaseUsingFactory.cs.

◆ Id4

int Csla.Test.BypassPropertyChecks.BypassBusinessBaseUsingFactory.Id4
getset

Definition at line 54 of file BypassBusinessBaseUsingFactory.cs.