diff options
author | lbsa71 | 2008-01-16 12:25:13 +0000 |
---|---|---|
committer | lbsa71 | 2008-01-16 12:25:13 +0000 |
commit | 5e757d2ad1ae3ad158a9b5f6077abcfaf9fac616 (patch) | |
tree | 96b3f4b939bd0c4a6e8b457f3e604ba143970c00 /OpenSim/Framework/Data/OpenSimDatabaseMapper.cs | |
parent | * Fix for: http://opensimulator.org/mantis/view.php?id=358 (diff) | |
download | opensim-SC-5e757d2ad1ae3ad158a9b5f6077abcfaf9fac616.zip opensim-SC-5e757d2ad1ae3ad158a9b5f6077abcfaf9fac616.tar.gz opensim-SC-5e757d2ad1ae3ad158a9b5f6077abcfaf9fac616.tar.bz2 opensim-SC-5e757d2ad1ae3ad158a9b5f6077abcfaf9fac616.tar.xz |
* More work on getting the database framework to actually work
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data/OpenSimDatabaseConnector.cs (renamed from OpenSim/Framework/Data/OpenSimDatabaseMapper.cs) | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs b/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs index 4f202bc..ec80488 100644 --- a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs +++ b/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs | |||
@@ -1,12 +1,12 @@ | |||
1 | using System.Data.Common; | 1 | using System.Data; |
2 | using libsecondlife; | 2 | using libsecondlife; |
3 | using TribalMedia.Framework.Data; | 3 | using TribalMedia.Framework.Data; |
4 | 4 | ||
5 | namespace OpenSim.Framework.Data | 5 | namespace OpenSim.Framework.Data |
6 | { | 6 | { |
7 | public abstract class OpenSimDatabaseMapper : BaseDatabaseConnector | 7 | public abstract class OpenSimDatabaseConnector : BaseDatabaseConnector |
8 | { | 8 | { |
9 | public OpenSimDatabaseMapper(string connectionString) : base(connectionString) | 9 | public OpenSimDatabaseConnector(string connectionString) : base(connectionString) |
10 | { | 10 | { |
11 | } | 11 | } |
12 | 12 | ||
@@ -19,5 +19,10 @@ namespace OpenSim.Framework.Data | |||
19 | 19 | ||
20 | return base.ConvertToDbType(value); | 20 | return base.ConvertToDbType(value); |
21 | } | 21 | } |
22 | |||
23 | public override BaseDataReader CreateReader(IDataReader reader) | ||
24 | { | ||
25 | return new OpenSimDataReader(reader); | ||
26 | } | ||
22 | } | 27 | } |
23 | } | 28 | } |