Example #1
0
        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);
        }
Example #2
0
        public void Dispose()
        {
            // overly anal!
            this.Connection.Close();
            this.Connection.Dispose();

            this.Database   = null;
            this.Connection = null;
            this.Language   = null;
        }