The ICartellaObject type exposes the following members.

Methods

  NameDescription
Public methodContainsField
Checks to see if the object contains a specicific field by fielod name. to check
Public methodGet_Procedure_SelectPagedRelations
Return the "SelectPagedRelationsProcedure" delegate, by the given target type
Public methodGet_Procedure_SelectPositionedRelations
Return the "SelectPositionedRelationsProcedure" delegate, by the given target type
Public methodGet_Procedure_SelectRelations
Return the "SelectRelationsProcedure" delegate, by the given target type
Public methodGetFields
Get a collection of fields.
(Inherited from IBaseObject.)
Public methodInitialize (Inherited from IBaseObject.)
Public methodRetrieveFullRecord
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.
Public methodSetupDelegates
Setup the delegate methods for data communications
Public methodStartUpdate
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.)
Public methodUpdateData
Sync the data of the object to underlying data record
(Inherited from IBatchUpdatable.)
Public methodValidateRules
Validates instance based on rules stored in the Global Manager. If validation fails, a Validation Exception will be thrown.

Properties

  NameDescription
Public propertyCreationDate
Get the Creation Date of the object
(Inherited from IDatedUniqueObject.)
Public propertyCreationUser
Get the Creation User of the object
Public propertyCreationUserID
Get the ID of the Creation User
Public propertyDeleted
Get, set the delete status of current object
Public propertyEditable
Test if this object is editable by the current user.
Public propertyID
Get ID of the object
(Inherited from IUniqueObject.)
Public propertyIsDirty
Find out if the object fields values has been changes, but not yet synced to underlying data record.
Public propertyIsNewObject (Inherited from IBaseObject.)
Public propertyItem
Indexer. Get, set field value by field name.
(Inherited from IBaseObject.)
Public propertyLastUpdatedDate
Get the Last Update Date of the object
(Inherited from IDatedUniqueObject.)
Public propertyLastUpdatedUser
Get the Last Update User of the object
Public propertyName
Get, set Name of the object
(Inherited from IUniqueObject.)
Public propertyProcedure_FullRecordRetrieval
Get , set the delegate pointing to the data method for performing full record retrieval
Public propertyProcedure_Insert
Get and set delegate for creating an object that has no id
Public propertyProcedure_Restore
Get, set the delegate pointing to the data method for performing restore method if the underlying data table support delete status.
Public propertyProcedure_Update
Get , set the delegate pointing to the data method for performing update to database, base on current object field values
Public propertyProcedures_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.
Public propertyProcedures_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.
Public propertyProcedures_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.
Public propertyStopEventUpdate
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.)
Public propertyUniqueIdField
Get Unique ID field in field collection.
(Inherited from IBaseObject.)

Events

  NameDescription
Public eventFullRecordRetrieved
Event to fire when the full content of this object is retrieved. This event will only get triggered, if the object is partially constructed.
Public eventObjectPreValidation
Event to fire preceeding object validation.
Public eventObjectUpdated
Event to fire when the update field values are updated

See Also