29 using System.Collections.Generic;
31 using System.Reflection;
32 using System.Threading;
35 using OpenSim.Framework;
36 using MySql.Data.MySqlClient;
38 namespace OpenSim.Data.MySQL
49 base(connectionString, realm,
"Avatar")
53 public bool Delete(UUID principalID,
string name)
55 using (MySqlCommand cmd =
new MySqlCommand())
57 cmd.CommandText = String.Format(
"delete from {0} where `PrincipalID` = ?PrincipalID and `Name` = ?Name", m_Realm);
58 cmd.Parameters.AddWithValue(
"?PrincipalID", principalID.ToString());
59 cmd.Parameters.AddWithValue(
"?Name", name);
61 if (ExecuteNonQuery(cmd) > 0)
MySQLAvatarData(string connectionString, string realm)
bool Delete(UUID principalID, string name)
A MySQL Interface for the Grid Server