diff options
author | Jeff Ames | 2008-05-16 13:33:57 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 13:33:57 +0000 |
commit | 7fefb80abbde4bd8a9b19cb631736b5860274134 (patch) | |
tree | b10ad0bb4a7e19bcdca675126320858b3427894f /OpenSim/Data/NHibernate/NHibernateInventoryData.cs | |
parent | Set svn:ignore. Minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.zip opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.gz opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.bz2 opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.xz |
Minor cleanup.
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateInventoryData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateInventoryData.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs index 228e0b6..902ecfb 100644 --- a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs +++ b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs | |||
@@ -75,8 +75,8 @@ namespace OpenSim.Data.NHibernate | |||
75 | cfg.AddAssembly("OpenSim.Data.NHibernate"); | 75 | cfg.AddAssembly("OpenSim.Data.NHibernate"); |
76 | 76 | ||
77 | HbmSerializer.Default.Validate = true; | 77 | HbmSerializer.Default.Validate = true; |
78 | using ( MemoryStream stream = | 78 | using (MemoryStream stream = |
79 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) | 79 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) |
80 | cfg.AddInputStream(stream); | 80 | cfg.AddInputStream(stream); |
81 | 81 | ||
82 | // If uncommented this will auto create tables, but it | 82 | // If uncommented this will auto create tables, but it |
@@ -90,7 +90,6 @@ namespace OpenSim.Data.NHibernate | |||
90 | InitDB(); | 90 | InitDB(); |
91 | } | 91 | } |
92 | 92 | ||
93 | |||
94 | private void InitDB() | 93 | private void InitDB() |
95 | { | 94 | { |
96 | string regex = @"no such table: Inventory"; | 95 | string regex = @"no such table: Inventory"; |
@@ -117,7 +116,6 @@ namespace OpenSim.Data.NHibernate | |||
117 | } | 116 | } |
118 | } | 117 | } |
119 | 118 | ||
120 | |||
121 | /***************************************************************** | 119 | /***************************************************************** |
122 | * | 120 | * |
123 | * Basic CRUD operations on Data | 121 | * Basic CRUD operations on Data |