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

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

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

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