aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateManager.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateManager.cs b/OpenSim/Data/NHibernate/NHibernateManager.cs
index 46840ac..12d8959 100644
--- a/OpenSim/Data/NHibernate/NHibernateManager.cs
+++ b/OpenSim/Data/NHibernate/NHibernateManager.cs
@@ -151,6 +151,12 @@ namespace OpenSim.Data.NHibernate
151 return false; 151 return false;
152 } 152 }
153 153
154 public void DropSchema()
155 {
156 SchemaExport export = new SchemaExport(this.cfg);
157 export.Drop(true, true);
158 }
159
154 public ISession GetSession() 160 public ISession GetSession()
155 { 161 {
156 return session; 162 return session;