diff options
author | Jeff Ames | 2008-01-14 22:37:45 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-14 22:37:45 +0000 |
commit | 84c3a317c12984155a3ca6430c8804a348112dae (patch) | |
tree | 1f1943e7c0f4d25b27d7fd733b4d8f87481da758 /OpenSim/Framework/Data/OpenSimDatabaseMapper.cs | |
parent | * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to... (diff) | |
download | opensim-SC_OLD-84c3a317c12984155a3ca6430c8804a348112dae.zip opensim-SC_OLD-84c3a317c12984155a3ca6430c8804a348112dae.tar.gz opensim-SC_OLD-84c3a317c12984155a3ca6430c8804a348112dae.tar.bz2 opensim-SC_OLD-84c3a317c12984155a3ca6430c8804a348112dae.tar.xz |
Set svn:eol-style.
Diffstat (limited to 'OpenSim/Framework/Data/OpenSimDatabaseMapper.cs')
-rw-r--r-- | OpenSim/Framework/Data/OpenSimDatabaseMapper.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs b/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs index 2001110..bb82462 100644 --- a/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs +++ b/OpenSim/Framework/Data/OpenSimDatabaseMapper.cs | |||
@@ -1,23 +1,23 @@ | |||
1 | using System.Data.Common; | 1 | using System.Data.Common; |
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 : DatabaseMapper | 7 | public abstract class OpenSimDatabaseMapper : DatabaseMapper |
8 | { | 8 | { |
9 | public OpenSimDatabaseMapper(string connectionString) : base(connectionString) | 9 | public OpenSimDatabaseMapper(string connectionString) : base(connectionString) |
10 | { | 10 | { |
11 | } | 11 | } |
12 | 12 | ||
13 | public override object ConvertToDbType(object value) | 13 | public override object ConvertToDbType(object value) |
14 | { | 14 | { |
15 | if (value is LLUUID) | 15 | if (value is LLUUID) |
16 | { | 16 | { |
17 | return ((LLUUID) value).UUID.ToString(); | 17 | return ((LLUUID) value).UUID.ToString(); |
18 | } | 18 | } |
19 | 19 | ||
20 | return base.ConvertToDbType(value); | 20 | return base.ConvertToDbType(value); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | } | 23 | } |