aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/OpenSimTableMapper.cs
blob: b6406b6336fcf7126ea2e5e8798f139356671533 (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);
        }
    }
}