C# Class TinySheets.Persistence.NHibernate.NHibernateDomainEventListener

Inheritance: NHibernate.EmptyInterceptor
显示文件 Open project: Readify/IocDevDay

Public Methods

Method Description
NHibernateDomainEventListener ( IDomainEventStore domainEventStore ) : System
OnLoad ( object entity, object id, object state, string propertyNames, IType types ) : bool
OnSave ( object entity, object id, object state, string propertyNames, IType types ) : bool

Private Methods

Method Description
SubscribeToDomainEvents ( object entity ) : void

Method Details

NHibernateDomainEventListener() public method

public NHibernateDomainEventListener ( IDomainEventStore domainEventStore ) : System
domainEventStore IDomainEventStore
return System

OnLoad() public method

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

OnSave() public method

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