Implementation of a test business object with an enum. More...
Public Member Functions | |
CustomerWithEnum () | |
Public Member Functions inherited from Csla.BusinessBase< CustomerWithEnum > | |
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... | |
Properties | |
string | Name [getset] |
Gets or sets the name of the CustomerWithEnum. More... | |
CustomerQuality | Quality [getset] |
Gets or sets the quality of the customer. More... | |
Properties inherited from Csla.BusinessBase< CustomerWithEnum > | |
EventHandler< Csla.Core.SavedEventArgs > | Saved |
Event raised when an object has been saved. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Csla.BusinessBase< CustomerWithEnum > | |
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 Member Functions inherited from Csla.BusinessBase< CustomerWithEnum > | |
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... | |
Implementation of a test business object with an enum.
Definition at line 28 of file CustomerWithEnum.cs.
cslalighttest.Serialization.CustomerWithEnum.CustomerWithEnum | ( | ) |
Definition at line 32 of file CustomerWithEnum.cs.
|
getset |
Gets or sets the name of the CustomerWithEnum.
Definition at line 46 of file CustomerWithEnum.cs.
|
getset |
Gets or sets the quality of the customer.
Definition at line 57 of file CustomerWithEnum.cs.