C# Class Godot.Infrastructure.Persistence.NHibernateSessionFactory

Inheritance: INHibernateSessionFactory
Show file Open project: Slesa/Playground

Public Methods

Method Description
Configure ( ) : void
CreateSession ( ) : ISession
Dispose ( ) : void

Cleans up managed and unmanaged resources.

NHibernateSessionFactory ( IPersistenceConfiguration persistenceConfiguration, INHibernatePersistenceModel persistenceModel ) : System

Protected Methods

Method Description
Dispose ( bool @explicit ) : void

Central method for cleaning up resources.

Private Methods

Method Description
CreateDatabaseWhenDebug ( FluentConfiguration configuration ) : void
CreateSessionFactory ( ) : ISessionFactory

Method Details

Configure() public method

public Configure ( ) : void
return void

CreateSession() public method

public CreateSession ( ) : ISession
return ISession

Dispose() public method

Cleans up managed and unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Central method for cleaning up resources.
protected Dispose ( bool @explicit ) : void
@explicit bool
return void

NHibernateSessionFactory() public method

public NHibernateSessionFactory ( IPersistenceConfiguration persistenceConfiguration, INHibernatePersistenceModel persistenceModel ) : System
persistenceConfiguration IPersistenceConfiguration
persistenceModel INHibernatePersistenceModel
return System