From 47c65295236560b0c58c1797ce2ad19418fa2b94 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 15 Jan 2008 10:15:39 +0000 Subject: * Some morw work on specializing the database framework for OpenSim --- OpenSim/Framework/Data/OpenSimTableMapper.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 OpenSim/Framework/Data/OpenSimTableMapper.cs (limited to 'OpenSim/Framework/Data/OpenSimTableMapper.cs') 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 @@ +using System.Data; +using TribalMedia.Framework.Data; + +namespace OpenSim.Framework.Data +{ + public abstract class OpenSimTableMapper : ObjectTableMapper + { + public OpenSimTableMapper(DatabaseMapper database, string tableName) : base(database, tableName) + { + } + + protected override DataReader CreateReader(IDataReader reader) + { + return new OpenSimDataReader(reader); + } + } +} -- cgit v1.1