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... | |
T | Clone () |
Creates a clone of the object. More... | |
T | Save () |
Saves the object to the database. More... | |
T | 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.SavedEventArgs > | Saved |
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... | |
Definition at line 16 of file BypassBusinessBase.cs.
Csla.Test.BypassPropertyChecks.BypassBusinessBase.BypassBusinessBase | ( | ) |
Definition at line 18 of file BypassBusinessBase.cs.
|
protected |
Definition at line 53 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId | ( | int | id | ) |
Definition at line 86 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId2 | ( | int | id | ) |
Definition at line 112 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId2ByPass | ( | int | id | ) |
Definition at line 104 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId3 | ( | int | id | ) |
Definition at line 139 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId3ByPass | ( | int | id | ) |
Definition at line 131 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId4 | ( | int | id | ) |
Definition at line 165 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadId4ByPass | ( | int | id | ) |
Definition at line 157 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadIdByNestedPass | ( | int | id | ) |
Definition at line 73 of file BypassBusinessBase.cs.
void Csla.Test.BypassPropertyChecks.BypassBusinessBase.LoadIdByPass | ( | int | id | ) |
Definition at line 65 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId | ( | ) |
Definition at line 99 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId2 | ( | ) |
Definition at line 125 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId2ByPass | ( | ) |
Definition at line 117 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId3 | ( | ) |
Definition at line 152 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId3ByPass | ( | ) |
Definition at line 144 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId4 | ( | ) |
Definition at line 178 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadId4ByPass | ( | ) |
Definition at line 170 of file BypassBusinessBase.cs.
int Csla.Test.BypassPropertyChecks.BypassBusinessBase.ReadIdByPass | ( | ) |
Definition at line 91 of file BypassBusinessBase.cs.
|
staticprotected |
Definition at line 30 of file BypassBusinessBase.cs.
|
staticprotected |
Definition at line 38 of file BypassBusinessBase.cs.
|
staticprotected |
Definition at line 46 of file BypassBusinessBase.cs.
|
staticprotected |
Definition at line 23 of file BypassBusinessBase.cs.
|
getset |
Definition at line 24 of file BypassBusinessBase.cs.
|
getset |
Definition at line 31 of file BypassBusinessBase.cs.
|
getset |
Definition at line 39 of file BypassBusinessBase.cs.
|
getset |
Definition at line 47 of file BypassBusinessBase.cs.