29 using System.Collections.Generic;
31 using System.Reflection;
32 using System.Threading;
35 using OpenSim.Framework;
37 using Community.CsharpSqlite.Sqlite;
39 using Mono.Data.Sqlite;
42 namespace OpenSim.Data.SQLite
53 base(connectionString, realm,
"Avatar")
57 public bool Delete(UUID principalID,
string name)
59 using (SqliteCommand cmd =
new SqliteCommand())
61 cmd.CommandText = String.Format(
"delete from {0} where `PrincipalID` = :PrincipalID and `Name` = :Name", m_Realm);
62 cmd.Parameters.AddWithValue(
":PrincipalID", principalID.ToString());
63 cmd.Parameters.AddWithValue(
":Name", name);
65 if (ExecuteNonQuery(cmd, m_Connection) > 0)
SQLiteAvatarData(string connectionString, string realm)
A SQLite Interface for Avatar Data
bool Delete(UUID principalID, string name)