The ICartellaObject type exposes the following members.
Methods
Name | Description | |
---|---|---|
ContainsField |
Checks to see if the object contains a specicific field by fielod name. to check
| |
Get_Procedure_SelectPagedRelations |
Return the "SelectPagedRelationsProcedure" delegate, by the given target type
| |
Get_Procedure_SelectPositionedRelations |
Return the "SelectPositionedRelationsProcedure" delegate, by the given target type
| |
Get_Procedure_SelectRelations |
Return the "SelectRelationsProcedure" delegate, by the given target type
| |
GetFields |
Get a collection of fields.
(Inherited from IBaseObject.) | |
Initialize | (Inherited from IBaseObject.) | |
RetrieveFullRecord |
Retrieve full content of the object. This method is automatically invoked, when full record retrieval is never
done on the object, and indexer call if performed on the fields key that doesn't exist.
| |
SetupDelegates |
Setup the delegate methods for data communications
| |
StartUpdate |
Suppress update events.
Use "Using" statement to automatically dispose and reset Event update switch.
Put the actual object property changes inside the using block
(Inherited from IBatchUpdatable.) | |
UpdateData |
Sync the data of the object to underlying data record
(Inherited from IBatchUpdatable.) | |
ValidateRules |
Validates instance based on rules stored in the Global Manager.
If validation fails, a Validation Exception will be thrown.
|
Properties
Name | Description | |
---|---|---|
CreationDate |
Get the Creation Date of the object
(Inherited from IDatedUniqueObject.) | |
CreationUser |
Get the Creation User of the object
| |
CreationUserID |
Get the ID of the Creation User
| |
Deleted |
Get, set the delete status of current object
| |
Editable |
Test if this object is editable by the current user.
| |
ID |
Get ID of the object
(Inherited from IUniqueObject.) | |
IsDirty |
Find out if the object fields values has been changes, but not yet synced to underlying
data record.
| |
IsNewObject | (Inherited from IBaseObject.) | |
Item |
Indexer.
Get, set field value by field name.
(Inherited from IBaseObject.) | |
LastUpdatedDate |
Get the Last Update Date of the object
(Inherited from IDatedUniqueObject.) | |
LastUpdatedUser |
Get the Last Update User of the object
| |
Name |
Get, set Name of the object
(Inherited from IUniqueObject.) | |
Procedure_FullRecordRetrieval |
Get , set the delegate pointing to the data method for performing full record retrieval
| |
Procedure_Insert |
Get and set delegate for creating an object that has no id
| |
Procedure_Restore |
Get, set the delegate pointing to the data method for performing restore method
if the underlying data table support delete status.
| |
Procedure_Update |
Get , set the delegate pointing to the data method for performing update to database,
base on current object field values
| |
Procedures_SelectPagedRelations |
Get, set the dictionary of delegates, pointing to the data method for performing
selection of PagedRelations (lazy loading relations)
The dictionary is indexed by type of target for the relations object to retrieve.
| |
Procedures_SelectPositionedRelations |
Get, set the dictionary of delegates, pointing to the data method for performing
selection of PositionedRelations (relation with specific position information for each item).
The dictionary is indexed by type of target for the relations object to retrieve.
| |
Procedures_SelectRelations |
Get, set the dictionary of delegates, pointing to the data method for performing relation selections.
The dictionary is indexed by type of target for the relations object to retrieve.
| |
StopEventUpdate |
Switch to determine if event update is allowed.
When "StartUpdate" is invoked, this will be set to true,
thus stop all update events
When the result of "StartUpdate" is disposded, the value reset to false
(Inherited from IBatchUpdatable.) | |
UniqueIdField |
Get Unique ID field in field collection.
(Inherited from IBaseObject.) |
Events
Name | Description | |
---|---|---|
FullRecordRetrieved |
Event to fire when the full content of this object is retrieved.
This event will only get triggered, if the object is partially constructed.
| |
ObjectPreValidation |
Event to fire preceeding object validation.
| |
ObjectUpdated |
Event to fire when the update field values are updated
|