aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLDatabaseMapper.cs
blob: 275ce4707c0c64fd89159fd009999a80d2aac98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System.Data.Common;
using MySql.Data.MySqlClient;
// using TribalMedia.Framework.Data;

/*
namespace OpenSim.Framework.Data.MySQL
{
    public class MySQLDatabaseMapper : OpenSimDatabaseConnector
    {
        public MySQLDatabaseMapper(string connectionString)
            : base(connectionString)
        {
        }

        public override DbConnection GetNewConnection()
        {
            MySqlConnection connection = new MySqlConnection(m_connectionString);
            return connection;
        }

        public override string CreateParamName(string fieldName)
        {
            return "?" + fieldName;
        }
    }
}
*/