C# Класс NSoft.NFramework.Data.NHibernateEx.Interceptors.InterceptorDecorator

Наследование: IInterceptor
Показать файл Открыть проект

Открытые методы

Метод Описание
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