C# Class NSoft.NFramework.Data.NHibernateEx.Interceptors.InterceptorDecorator

Inheritance: IInterceptor
Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode Description
AfterTransactionBegin ( ITransaction tx ) : void
AfterTransactionCompletion ( ITransaction tx ) : void
BeforeTransactionCompletion ( ITransaction tx ) : void
FindDirty ( object entity, object id, object currentState, object previousState, string propertyNames, IType types ) : int[]
GetEntity ( string entityName, object id ) : object
GetEntityName ( object entity ) : string
Instantiate ( string entityName, EntityMode entityMode, object id ) : object
InterceptorDecorator ( IInterceptor inner ) : System

Constructor

IsTransient ( object entity ) : bool?
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, IType types ) : void
OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, IType types ) : bool
OnLoad ( object entity, object id, object state, string propertyNames, IType types ) : bool
OnPrepareStatement ( NHibernate.SqlCommand.SqlString sql ) : NHibernate.SqlCommand.SqlString
OnSave ( object entity, object id, object state, string propertyNames, IType types ) : bool
PostFlush ( ICollection entities ) : void
PreFlush ( ICollection entities ) : void
SetSession ( ISession session ) : void

Method Details

AfterTransactionBegin() public méthode

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

AfterTransactionCompletion() public méthode

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

BeforeTransactionCompletion() public méthode

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

FindDirty() public méthode

public FindDirty ( object entity, object id, object currentState, object previousState, string propertyNames, IType types ) : int[]
entity object
id object
currentState object
previousState object
propertyNames string
types IType
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 ( string entityName, EntityMode entityMode, object id ) : object
entityName string
entityMode EntityMode
id object
Résultat object

InterceptorDecorator() public méthode

Constructor
public InterceptorDecorator ( IInterceptor inner ) : System
inner IInterceptor
Résultat System

IsTransient() public méthode

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

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, IType types ) : void
entity object
id object
state object
propertyNames string
types IType
Résultat void

OnFlushDirty() public méthode

public OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, IType types ) : bool
entity object
id object
currentState object
previousState object
propertyNames string
types IType
Résultat bool

OnLoad() public méthode

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

OnPrepareStatement() public méthode

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

OnSave() public méthode

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

PostFlush() public méthode

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

PreFlush() public méthode

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

SetSession() public méthode

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