C# Class CAESDO.Recruitment.Data.TrackingInterceptor

Inheritance: NHibernate.IInterceptor
Datei anzeigen Open project: ucdavis/Recruitments

Public Methods

Method 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

Method Description
TrackChanges ( List changeList, object target, object id, ChangeTypes changeType ) : void

Method Details

AfterTransactionBegin() public method

public AfterTransactionBegin ( NHibernate tx ) : void
tx NHibernate
return void

AfterTransactionCompletion() public method

public AfterTransactionCompletion ( NHibernate tx ) : void
tx NHibernate
return void

BeforeTransactionCompletion() public method

public BeforeTransactionCompletion ( NHibernate tx ) : void
tx NHibernate
return void

FindDirty() public method

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
return int[]

GetEntity() public method

public GetEntity ( string entityName, object id ) : object
entityName string
id object
return object

GetEntityName() public method

public GetEntityName ( object entity ) : string
entity object
return string

Instantiate() public method

public Instantiate ( Type type, object id ) : object
type System.Type
id object
return object

Instantiate() public method

public Instantiate ( string entityName, NHibernate entityMode, object id ) : object
entityName string
entityMode NHibernate
id object
return object

IsTransient() public method

public IsTransient ( object entity ) : bool?
entity object
return bool?

IsUnsaved() public method

public IsUnsaved ( object entity ) : object
entity object
return object

OnCollectionRecreate() public method

public OnCollectionRecreate ( object collection, object key ) : void
collection object
key object
return void

OnCollectionRemove() public method

public OnCollectionRemove ( object collection, object key ) : void
collection object
key object
return void

OnCollectionUpdate() public method

public OnCollectionUpdate ( object collection, object key ) : void
collection object
key object
return void

OnDelete() public method

public OnDelete ( object entity, object id, object state, string propertyNames, NHibernate types ) : void
entity object
id object
state object
propertyNames string
types NHibernate
return void

OnFlushDirty() public method

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
return bool

OnLoad() public method

public OnLoad ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
entity object
id object
state object
propertyNames string
types NHibernate
return bool

OnPrepareStatement() public method

public OnPrepareStatement ( NHibernate sql ) : NHibernate.SqlCommand.SqlString
sql NHibernate
return NHibernate.SqlCommand.SqlString

OnSave() public method

public OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
entity object
id object
state object
propertyNames string
types NHibernate
return bool

PostFlush() public method

public PostFlush ( System entities ) : void
entities System
return void

PreFlush() public method

public PreFlush ( System entities ) : void
entities System
return void

SetSession() public method

public SetSession ( NHibernate session ) : void
session NHibernate
return void