C# Class ExoGraph.NHibernate.NHibernateGraphTypeProvider.NHibernateGraphType

Inheritance: StrongGraphType
Afficher le fichier Open project: vc3/ExoModel Class Usage Examples

Méthodes publiques

Méthode Description
GetGraphInstance ( object instance ) : GraphInstance
RaiseOnSave ( GraphInstance instance ) : void

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
NHibernateGraphType_PropertyAccessed ( object sender, PropertyAccessedEventArgs e ) : void
NHibernateGraphType_PropertyModified ( object sender, PropertyModifiedEventArgs e ) : void
RaiseOnInit ( object instance ) : GraphInstance

Method Details

DeleteInstance() protected méthode

Deletes an instance from the persistence store
protected DeleteInstance ( GraphInstance instance ) : void
instance GraphInstance
Résultat void

GetGraphInstance() public méthode

public GetGraphInstance ( object instance ) : GraphInstance
instance object
Résultat GraphInstance

GetId() protected méthode

Retrieves the Id of an existing entity
protected GetId ( object instance ) : string
instance object
Résultat string

GetInstance() protected méthode

Returns an entity from the persistence store, or a new entity
protected GetInstance ( string id ) : object
id string String representation of the id
Résultat object

NHibernateGraphType() protected méthode

protected NHibernateGraphType ( string @namespace, Type type, object>.Func extensionFactory, ISessionFactoryImplementor sessionFactory ) : System
@namespace string
type System.Type
extensionFactory object>.Func
sessionFactory ISessionFactoryImplementor
Résultat System

RaiseOnSave() public méthode

public RaiseOnSave ( GraphInstance instance ) : void
instance GraphInstance
Résultat void

SaveInstance() protected méthode

Persists an entity to the persistence store
protected SaveInstance ( GraphInstance graphInstance ) : void
graphInstance GraphInstance
Résultat void