public DatabaseTests() { this.Connection = new SQLiteConnection(SQLiteConnectionStrings.Memory()); this.Connection.Open(); this.Language = new SQLiteLanguage(); this.Database = new Database <SQLiteConnection, SQLiteLanguage>(this.Connection, this.Language); }
public void Dispose() { // overly anal! this.Connection.Close(); this.Connection.Dispose(); this.Database = null; this.Connection = null; this.Language = null; }