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

상속: NHibernate.EmptyInterceptor
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
IsTransient ( object entity ) : bool?

Indicate that the specified object is transient object.

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

occurred when the specified entity is loaded.

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

Occurred when the specified entity is saved.

메소드 상세

IsTransient() 공개 메소드

Indicate that the specified object is transient object.
public IsTransient ( object entity ) : bool?
entity object
리턴 bool?

OnLoad() 공개 메소드

occurred when the specified entity is loaded.
public OnLoad ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
entity object
id object
state object
propertyNames string
types NHibernate
리턴 bool

OnSave() 공개 메소드

Occurred when the specified entity is saved.
public OnSave ( object entity, object id, object state, string propertyNames, NHibernate types ) : bool
entity object
id object
state object
propertyNames string
types NHibernate
리턴 bool