Added UserAccountData and auth to the SQLite connector. Compiles, runs, but access to these tables doesn't work.

This commit is contained in:
Diva Canto
2010-02-20 17:52:38 -08:00
parent 845a390e93
commit 0ab6aac052
11 changed files with 373 additions and 16 deletions

View File

@@ -48,16 +48,23 @@ namespace OpenSim.Data.SQLite
protected string m_Realm;
protected FieldInfo m_DataField = null;
private static bool m_initialized;
public SQLiteGenericTableHandler(string connectionString,
string realm, string storeName) : base(connectionString)
{
m_Realm = realm;
if (storeName != String.Empty)
{
Assembly assem = GetType().Assembly;
Migration m = new Migration(m_Connection, assem, storeName);
m.Update();
if (!m_initialized)
{
if (storeName != String.Empty)
{
Assembly assem = GetType().Assembly;
Migration m = new Migration(m_Connection, assem, storeName);
m.Update();
}
m_initialized = true;
}
Type t = typeof(T);