Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
OnDelete ( object entity, object id, object state, string propertyNames, NHibernate types ) : void |
Is called whilr deleting record
|
|
OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, NHibernate types ) : bool |
Is called while updating existing record
|
|
OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool |
Is called while inserting new record
|
Метод | Описание | |
---|---|---|
AuditInterceptor ( |
||
FlushDirtyEntityMapLikeComponent ( object entity, object currentState, object previousState, NHibernate types ) : void | ||
IsAuditableType ( object obj ) : bool | ||
IsMapLikeComponent ( object obj ) : bool | ||
LogAudit ( object entity, string propertyNames, AuditRecordType actionType ) : void |
Log insert/delete record (just one state)
|
|
LogAuditEntityMapLikeComponent ( object entity, AuditRecordType operationType ) : void | ||
NewAuditRecord ( Item curentity, string fieldName, string newValue, string oldValue, AuditRecordType operationType ) : void |
Creating log record and saving it to DB
|
public OnDelete ( object entity, object id, object state, string propertyNames, NHibernate types ) : void | ||
entity | object | |
id | object | |
state | object | |
propertyNames | string | |
types | NHibernate | |
Результат | void |
public OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, NHibernate types ) : bool | ||
entity | object | |
id | object | |
currentState | object | |
previousState | object | |
propertyNames | string | |
types | NHibernate | |
Результат | bool |
public OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool | ||
entity | object | |
id | object | |
state | object | |
propertyNames | string | |
types | NHibernate | |
Результат | bool |