aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/OpenSimTableMapper.cs
blob: c72f523a997cc213567413644c18ca799320871e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Data;
using TribalMedia.Framework.Data;

namespace OpenSim.Framework.Data
{
    public abstract class OpenSimTableMapper<TRowMapper, TPrimaryKey> : ObjectTableMapper<TRowMapper, TPrimaryKey>
    {
        public OpenSimTableMapper(DatabaseMapper database, string tableName) : base(database, tableName)
        {
        }

        protected override DataReader CreateReader(IDataReader reader)
        {
            return new OpenSimDataReader(reader);
        }
    }
}