aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/OpenSimTableMapper.cs
blob: a77936f3199ffe319a168975e5e774aab26a6464 (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> : BaseTableMapper<TRowMapper, TPrimaryKey>
    {
        public OpenSimTableMapper(BaseDatabaseConnector database, string tableName) : base(database, tableName)
        {
        }

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