C# 클래스 ExoGraph.NHibernate.NHibernateGraphTypeProvider.NHibernateGraphType

상속: StrongGraphType
파일 보기 프로젝트 열기: vc3/ExoModel 1 사용 예제들

공개 메소드들

메소드 설명
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