diff options
Diffstat (limited to '')
-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 | } | ||