Метод | Описание | |
---|---|---|
BeforeDelete ( IDictionary adapter ) : void |
Hook to perform additional tasks before removing the object instance representation from the database.
|
|
BeforeLoad ( object id, IDictionary adapter ) : bool |
Hook to transform the read data from the database before populating the object instance
|
|
BeforeSave ( IDictionary state ) : bool |
Hook to change the object state before saving it.
|
|
FindDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : int[] |
Called from
|
|
IsUnsaved ( ) : object |
Called when a transient entity is passed to The return value determines if the object is saved |
|
OnDelete ( ) : void |
Lifecycle method invoked during Delete of the entity
|
|
OnFlushDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : bool |
|
|
OnLoad ( object id ) : void |
Lifecycle method invoked during Load of the entity
|
|
OnSave ( ) : void |
Lifecycle method invoked during Save of the entity
|
|
OnUpdate ( ) : void |
Lifecycle method invoked during Update of the entity
|
|
PostFlush ( ) : void |
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
|
|
PreFlush ( ) : void |
Called before a flush
|
protected BeforeDelete ( IDictionary adapter ) : void | ||
adapter | IDictionary | |
Результат | void |
protected BeforeLoad ( object id, IDictionary adapter ) : bool | ||
id | object | id of the obejct |
adapter | IDictionary | list of properties and their values |
Результат | bool |
protected BeforeSave ( IDictionary state ) : bool | ||
state | IDictionary | |
Результат | bool |
protected FindDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : int[] | ||
id | object | |
previousState | IDictionary | |
currentState | IDictionary | |
types | IType | |
Результат | int[] |
protected OnFlushDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : bool | ||
id | object | |
previousState | IDictionary | |
currentState | IDictionary | |
types | IType | |
Результат | bool |