C# Class FSNEP.AuditInterceptor

Inheritance: NHibernate.EmptyInterceptor
Afficher le fichier Open project: ucdavis/FSNEP

Méthodes publiques

Méthode Description
AuditInterceptor ( IUserAuth userAuth, IRepository auditRepository ) : System
AuditObjectModification ( object entity, object id, AuditActionType auditActionType ) : void
OnDelete ( object entity, object id, object state, string propertyNames, NHibernate types ) : void
OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, NHibernate types ) : bool
OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool

Method Details

AuditInterceptor() public méthode

public AuditInterceptor ( IUserAuth userAuth, IRepository auditRepository ) : System
userAuth IUserAuth
auditRepository IRepository
Résultat System

AuditObjectModification() public méthode

public AuditObjectModification ( object entity, object id, AuditActionType auditActionType ) : void
entity object
id object
auditActionType AuditActionType
Résultat void

OnDelete() public méthode

public OnDelete ( object entity, object id, object state, string propertyNames, NHibernate types ) : void
entity object
id object
state object
propertyNames string
types NHibernate
Résultat void

OnFlushDirty() public méthode

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
Résultat bool

OnSave() public méthode

public OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
entity object
id object
state object
propertyNames string
types NHibernate
Résultat bool