C# Класс ExoGraph.NHibernate.NHibernateGraphTypeProvider.NHibernateGraphType

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

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

Метод Описание
GetGraphInstance ( object instance ) : GraphInstance
RaiseOnSave ( GraphInstance instance ) : void

Защищенные методы

Метод Описание
DeleteInstance ( GraphInstance instance ) : void

Deletes an instance from the persistence store

GetId ( object instance ) : string

Retrieves the Id of an existing entity

GetInstance ( string id ) : object

Returns an entity from the persistence store, or a new entity

NHibernateGraphType ( string @namespace, Type type, object>.Func extensionFactory, ISessionFactoryImplementor sessionFactory ) : System
SaveInstance ( GraphInstance graphInstance ) : void

Persists an entity to the persistence store

Приватные методы

Метод Описание
NHibernateGraphType_PropertyAccessed ( object sender, PropertyAccessedEventArgs e ) : void
NHibernateGraphType_PropertyModified ( object sender, PropertyModifiedEventArgs e ) : void
RaiseOnInit ( object instance ) : GraphInstance

Описание методов

DeleteInstance() защищенный Метод

Deletes an instance from the persistence store
protected DeleteInstance ( GraphInstance instance ) : void
instance GraphInstance
Результат void

GetGraphInstance() публичный Метод

public GetGraphInstance ( object instance ) : GraphInstance
instance object
Результат GraphInstance

GetId() защищенный Метод

Retrieves the Id of an existing entity
protected GetId ( object instance ) : string
instance object
Результат string

GetInstance() защищенный Метод

Returns an entity from the persistence store, or a new entity
protected GetInstance ( string id ) : object
id string String representation of the id
Результат object

NHibernateGraphType() защищенный Метод

protected NHibernateGraphType ( string @namespace, Type type, object>.Func extensionFactory, ISessionFactoryImplementor sessionFactory ) : System
@namespace string
type System.Type
extensionFactory object>.Func
sessionFactory ISessionFactoryImplementor
Результат System

RaiseOnSave() публичный Метод

public RaiseOnSave ( GraphInstance instance ) : void
instance GraphInstance
Результат void

SaveInstance() защищенный Метод

Persists an entity to the persistence store
protected SaveInstance ( GraphInstance graphInstance ) : void
graphInstance GraphInstance
Результат void