mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
* Some morw work on specializing the database framework for OpenSim
This commit is contained in:
17
OpenSim/Framework/Data/OpenSimTableMapper.cs
Normal file
17
OpenSim/Framework/Data/OpenSimTableMapper.cs
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user