diff options
author | lbsa71 | 2008-01-15 10:15:39 +0000 |
---|---|---|
committer | lbsa71 | 2008-01-15 10:15:39 +0000 |
commit | 47c65295236560b0c58c1797ce2ad19418fa2b94 (patch) | |
tree | 1aacd2f02d5c6a585a9fc61e0b3c57ae6beaf1d9 /OpenSim/Framework/Data/OpenSimTableMapper.cs | |
parent | * Delinking doesn't leave invisible physical objects behind anymore (diff) | |
download | opensim-SC-47c65295236560b0c58c1797ce2ad19418fa2b94.zip opensim-SC-47c65295236560b0c58c1797ce2ad19418fa2b94.tar.gz opensim-SC-47c65295236560b0c58c1797ce2ad19418fa2b94.tar.bz2 opensim-SC-47c65295236560b0c58c1797ce2ad19418fa2b94.tar.xz |
* Some morw work on specializing the database framework for OpenSim
Diffstat (limited to 'OpenSim/Framework/Data/OpenSimTableMapper.cs')
-rw-r--r-- | OpenSim/Framework/Data/OpenSimTableMapper.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data/OpenSimTableMapper.cs b/OpenSim/Framework/Data/OpenSimTableMapper.cs new file mode 100644 index 0000000..c72f523 --- /dev/null +++ b/OpenSim/Framework/Data/OpenSimTableMapper.cs | |||
@@ -0,0 +1,17 @@ | |||
1 | using System.Data; | ||
2 | using TribalMedia.Framework.Data; | ||
3 | |||
4 | namespace OpenSim.Framework.Data | ||
5 | { | ||
6 | public abstract class OpenSimTableMapper<TRowMapper, TPrimaryKey> : ObjectTableMapper<TRowMapper, TPrimaryKey> | ||
7 | { | ||
8 | public OpenSimTableMapper(DatabaseMapper database, string tableName) : base(database, tableName) | ||
9 | { | ||
10 | } | ||
11 | |||
12 | protected override DataReader CreateReader(IDataReader reader) | ||
13 | { | ||
14 | return new OpenSimDataReader(reader); | ||
15 | } | ||
16 | } | ||
17 | } | ||