29 using System.Collections;
30 using System.Collections.Generic;
33 using OpenSim.Framework;
34 using MySql.Data.MySqlClient;
36 namespace OpenSim.Data.MySQL
43 private static readonly log4net.ILog m_log =
44 log4net.LogManager.GetLogger(
45 System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
48 protected object m_dbLock =
new object();
52 m_connectionString = connectionString;
64 using (MySqlConnection dbcon =
new MySqlConnection(m_connectionString))
69 cmd.Connection = dbcon;
73 return cmd.ExecuteNonQuery();
77 m_log.Error(e.Message, e);
78 m_log.Error(Environment.StackTrace.ToString());
84 m_log.Error(e.Message, e);
string m_connectionString
A database interface class to a user profile storage system
int ExecuteNonQuery(MySqlCommand cmd)
MySqlFramework(string connectionString)