diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateManager.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateManager.cs b/OpenSim/Data/NHibernate/NHibernateManager.cs index 5e5eb47..51467da 100644 --- a/OpenSim/Data/NHibernate/NHibernateManager.cs +++ b/OpenSim/Data/NHibernate/NHibernateManager.cs | |||
@@ -26,14 +26,14 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Data.Common; | ||
29 | using System.Reflection; | 30 | using System.Reflection; |
30 | using System.IO; | ||
31 | using log4net; | 31 | using log4net; |
32 | using NHibernate; | 32 | using NHibernate; |
33 | using NHibernate.Cfg; | 33 | using NHibernate.Cfg; |
34 | using NHibernate.Tool.hbm2ddl; | 34 | using NHibernate.Tool.hbm2ddl; |
35 | using OpenMetaverse; | 35 | using OpenMetaverse; |
36 | using Environment = NHibernate.Cfg.Environment; | 36 | using Environment=NHibernate.Cfg.Environment; |
37 | 37 | ||
38 | namespace OpenSim.Data.NHibernate | 38 | namespace OpenSim.Data.NHibernate |
39 | { | 39 | { |
@@ -92,7 +92,7 @@ namespace OpenSim.Data.NHibernate | |||
92 | migrationSubType = "MySQLDialect"; | 92 | migrationSubType = "MySQLDialect"; |
93 | } | 93 | } |
94 | 94 | ||
95 | Migration migration = new Migration((System.Data.Common.DbConnection)sessionFactory.ConnectionProvider.GetConnection(), assembly, migrationSubType, store); | 95 | Migration migration = new Migration((DbConnection)sessionFactory.ConnectionProvider.GetConnection(), assembly, migrationSubType, store); |
96 | migration.Update(); | 96 | migration.Update(); |
97 | } | 97 | } |
98 | 98 | ||