C# 클래스 NSoft.NFramework.Data.NHibernateEx.Interceptors.InterceptorDecorator

상속: IInterceptor
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
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

메소드 상세

AfterTransactionBegin() 공개 메소드

public AfterTransactionBegin ( ITransaction tx ) : void
tx ITransaction
리턴 void

AfterTransactionCompletion() 공개 메소드

public AfterTransactionCompletion ( ITransaction tx ) : void
tx ITransaction
리턴 void

BeforeTransactionCompletion() 공개 메소드

public BeforeTransactionCompletion ( ITransaction tx ) : void
tx ITransaction
리턴 void

FindDirty() 공개 메소드

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
리턴 int[]

GetEntity() 공개 메소드

public GetEntity ( string entityName, object id ) : object
entityName string
id object
리턴 object

GetEntityName() 공개 메소드

public GetEntityName ( object entity ) : string
entity object
리턴 string

Instantiate() 공개 메소드

public Instantiate ( string entityName, EntityMode entityMode, object id ) : object
entityName string
entityMode EntityMode
id object
리턴 object

InterceptorDecorator() 공개 메소드

Constructor
public InterceptorDecorator ( IInterceptor inner ) : System
inner IInterceptor
리턴 System

IsTransient() 공개 메소드

public IsTransient ( object entity ) : bool?
entity object
리턴 bool?

OnCollectionRecreate() 공개 메소드

public OnCollectionRecreate ( object collection, object key ) : void
collection object
key object
리턴 void

OnCollectionRemove() 공개 메소드

public OnCollectionRemove ( object collection, object key ) : void
collection object
key object
리턴 void

OnCollectionUpdate() 공개 메소드

public OnCollectionUpdate ( object collection, object key ) : void
collection object
key object
리턴 void

OnDelete() 공개 메소드

public OnDelete ( object entity, object id, object state, string propertyNames, IType types ) : void
entity object
id object
state object
propertyNames string
types IType
리턴 void

OnFlushDirty() 공개 메소드

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
리턴 bool

OnLoad() 공개 메소드

public OnLoad ( object entity, object id, object state, string propertyNames, IType types ) : bool
entity object
id object
state object
propertyNames string
types IType
리턴 bool

OnPrepareStatement() 공개 메소드

public OnPrepareStatement ( NHibernate.SqlCommand.SqlString sql ) : NHibernate.SqlCommand.SqlString
sql NHibernate.SqlCommand.SqlString
리턴 NHibernate.SqlCommand.SqlString

OnSave() 공개 메소드

public OnSave ( object entity, object id, object state, string propertyNames, IType types ) : bool
entity object
id object
state object
propertyNames string
types IType
리턴 bool

PostFlush() 공개 메소드

public PostFlush ( ICollection entities ) : void
entities ICollection
리턴 void

PreFlush() 공개 메소드

public PreFlush ( ICollection entities ) : void
entities ICollection
리턴 void

SetSession() 공개 메소드

public SetSession ( ISession session ) : void
session ISession
리턴 void