mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
fixes mantis #2950
This commit is contained in:
@@ -45,7 +45,7 @@ namespace OpenSim.Data.NHibernate
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private NHibernateManager manager;
|
||||
public NHibernateManager manager;
|
||||
|
||||
override public void Dispose() { }
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace OpenSim.Data.NHibernate
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private NHibernateManager manager;
|
||||
public NHibernateManager manager;
|
||||
|
||||
public void Initialise()
|
||||
{
|
||||
|
||||
@@ -151,6 +151,12 @@ namespace OpenSim.Data.NHibernate
|
||||
return false;
|
||||
}
|
||||
|
||||
public void DropSchema()
|
||||
{
|
||||
SchemaExport export = new SchemaExport(this.cfg);
|
||||
export.Drop(true, true);
|
||||
}
|
||||
|
||||
public ISession GetSession()
|
||||
{
|
||||
return session;
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace OpenSim.Data.NHibernate
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private NHibernateManager manager;
|
||||
public NHibernateManager manager;
|
||||
|
||||
public void Initialise(string connect)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace OpenSim.Data.NHibernate
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private NHibernateManager manager;
|
||||
public NHibernateManager manager;
|
||||
|
||||
public override void Initialise()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user