C# Class CAESDO.Recruitment.Data.TrackingInterceptor

Inheritance: NHibernate.IInterceptor
Afficher le fichier Open project: ucdavis/Recruitments

Méthodes publiques

Méthode Description
AfterTransactionBegin ( NHibernate tx ) : void
AfterTransactionCompletion ( NHibernate tx ) : void
BeforeTransactionCompletion ( NHibernate tx ) : void
FindDirty ( object entity, object id, object currentState, object previousState, string propertyNames, NHibernate types ) : int[]
GetEntity ( string entityName, object id ) : object
GetEntityName ( object entity ) : string
Instantiate ( Type type, object id ) : object
Instantiate ( string entityName, NHibernate entityMode, object id ) : object
IsTransient ( object entity ) : bool?
IsUnsaved ( object entity ) : object
OnCollectionRecreate ( object collection, object key ) : void
OnCollectionRemove ( object collection, object key ) : void
OnCollectionUpdate ( object collection, object key ) : 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
OnLoad ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
OnPrepareStatement ( NHibernate sql ) : NHibernate.SqlCommand.SqlString
OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
PostFlush ( System entities ) : void
PreFlush ( System entities ) : void
SetSession ( NHibernate session ) : void

Private Methods

Méthode Description
TrackChanges ( List changeList, object target, object id, ChangeTypes changeType ) : void

Method Details

AfterTransactionBegin() public méthode

public AfterTransactionBegin ( NHibernate tx ) : void
tx NHibernate
Résultat void

AfterTransactionCompletion() public méthode

public AfterTransactionCompletion ( NHibernate tx ) : void
tx NHibernate
Résultat void

BeforeTransactionCompletion() public méthode

public BeforeTransactionCompletion ( NHibernate tx ) : void
tx NHibernate
Résultat void

FindDirty() public méthode

public FindDirty ( object entity, object id, object currentState, object previousState, string propertyNames, NHibernate types ) : int[]
entity object
id object
currentState object
previousState object
propertyNames string
types NHibernate
Résultat int[]

GetEntity() public méthode

public GetEntity ( string entityName, object id ) : object
entityName string
id object
Résultat object

GetEntityName() public méthode

public GetEntityName ( object entity ) : string
entity object
Résultat string

Instantiate() public méthode

public Instantiate ( Type type, object id ) : object
type System.Type
id object
Résultat object

Instantiate() public méthode

public Instantiate ( string entityName, NHibernate entityMode, object id ) : object
entityName string
entityMode NHibernate
id object
Résultat object

IsTransient() public méthode

public IsTransient ( object entity ) : bool?
entity object
Résultat bool?

IsUnsaved() public méthode

public IsUnsaved ( object entity ) : object
entity object
Résultat object

OnCollectionRecreate() public méthode

public OnCollectionRecreate ( object collection, object key ) : void
collection object
key object
Résultat void

OnCollectionRemove() public méthode

public OnCollectionRemove ( object collection, object key ) : void
collection object
key object
Résultat void

OnCollectionUpdate() public méthode

public OnCollectionUpdate ( object collection, object key ) : void
collection object
key object
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

OnLoad() public méthode

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

OnPrepareStatement() public méthode

public OnPrepareStatement ( NHibernate sql ) : NHibernate.SqlCommand.SqlString
sql NHibernate
Résultat NHibernate.SqlCommand.SqlString

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

PostFlush() public méthode

public PostFlush ( System entities ) : void
entities System
Résultat void

PreFlush() public méthode

public PreFlush ( System entities ) : void
entities System
Résultat void

SetSession() public méthode

public SetSession ( NHibernate session ) : void
session NHibernate
Résultat void