Static Public Member Functions | |
static RuleBaseClassesRoot | NewEditableRoot (IDataPortal< RuleBaseClassesRoot > dataPortal, string ruleSet) |
Static Public Attributes | |
static readonly PropertyInfo< int > | CustomerIdProperty = RegisterProperty<int>(c => c.CustomerId) |
static readonly PropertyInfo< string > | NameProperty = RegisterProperty<string>(c => c.Name) |
static readonly PropertyInfo< int > | Num1Property = RegisterProperty<int>(c => c.Num1) |
static readonly PropertyInfo< int > | Num2Property = RegisterProperty<int>(c => c.Num2) |
static readonly PropertyInfo< int > | SumProperty = RegisterProperty<int>(c => c.Sum) |
static readonly PropertyInfo< string > | CountryProperty = RegisterProperty<string>(c => c.Country) |
static readonly PropertyInfo< string > | StateProperty = RegisterProperty<string>(c => c.State) |
static readonly PropertyInfo< Csla.SmartDate > | StartDateProperty = RegisterProperty<Csla.SmartDate>(c => c.StartDate, null, new Csla.SmartDate()) |
static readonly PropertyInfo< Csla.SmartDate > | EndDateProperty = RegisterProperty<Csla.SmartDate>(c => c.EndDate, null, new Csla.SmartDate()) |
Protected Member Functions | |
override void | PropertyHasChanged (IPropertyInfo property) |
override void | AddBusinessRules () |
void | DataPortal_Create (string ruleSet) |
Protected Member Functions inherited from Csla.BusinessBase< RuleBaseClassesRoot > | |
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... | |
Properties | |
int | CustomerId [getset] |
string | Name [getset] |
int | Num1 [getset] |
int | Num2 [getset] |
int | Sum [getset] |
string | Country [getset] |
string | State [getset] |
string | StartDate [getset] |
string | EndDate [getset] |
Properties inherited from Csla.BusinessBase< RuleBaseClassesRoot > | |
EventHandler< Csla.Core.SavedEventArgs > | Saved |
Event raised when an object has been saved. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Csla.BusinessBase< RuleBaseClassesRoot > | |
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... | |
Static Protected Member Functions inherited from Csla.BusinessBase< RuleBaseClassesRoot > | |
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 15 of file RuleBaseClassesRoot.cs.
|
protected |
Definition at line 92 of file RuleBaseClassesRoot.cs.
|
protected |
Definition at line 131 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 123 of file RuleBaseClassesRoot.cs.
|
protected |
Definition at line 84 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 54 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 19 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 75 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 26 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 33 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 40 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 68 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 61 of file RuleBaseClassesRoot.cs.
|
static |
Definition at line 47 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 55 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 20 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 76 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 27 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 34 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 41 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 69 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 62 of file RuleBaseClassesRoot.cs.
|
getset |
Definition at line 48 of file RuleBaseClassesRoot.cs.