aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateManager.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-05 18:04:47 +0000
committerJustin Clarke Casey2009-01-05 18:04:47 +0000
commit0d3a99f6bc1c0f291d242407d67239f09cf49a7c (patch)
treee1361b5f8b2492605578927c6022f22f8067383e /OpenSim/Data/NHibernate/NHibernateManager.cs
parent* Simplify test code by always setting up mock 'in memory' user and inventory... (diff)
downloadopensim-SC_OLD-0d3a99f6bc1c0f291d242407d67239f09cf49a7c.zip
opensim-SC_OLD-0d3a99f6bc1c0f291d242407d67239f09cf49a7c.tar.gz
opensim-SC_OLD-0d3a99f6bc1c0f291d242407d67239f09cf49a7c.tar.bz2
opensim-SC_OLD-0d3a99f6bc1c0f291d242407d67239f09cf49a7c.tar.xz
fixes mantis #2950
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;