public DBConnector(string filename, DBTableDefinition tableDefinition, bool keepInMemory)
 {
     this.filename        = filename;
     this.tableDefinition = tableDefinition;
     this.keepInMemory    = keepInMemory;
     if (this.keepInMemory)
     {
         this.connection = new SQLiteConnection("Data Source=:memory:;Version=3;Connect Timeout=10");
         this.connection.Open();
         this.loadDBFromFile();
     }
     else
     {
         this.connection = this.openCreateFileDB(filename);
         //this.connection.Open();
     }
 }
 public DBConnector(string filename, DBTableDefinition tableDefinition, bool keepInMemory)
 {
     this.filename = filename;
     this.tableDefinition = tableDefinition;
     this.keepInMemory = keepInMemory;
     if (this.keepInMemory) {
         this.connection = new SQLiteConnection("Data Source=:memory:;Version=3;Connect Timeout=10");
         this.connection.Open();
         this.loadDBFromFile();
     } else {
         this.connection = this.openCreateFileDB(filename);
         //this.connection.Open();
     }
 }
 public DBConnector(string filename, DBTableDefinition tableDefinition)
     : this(filename, tableDefinition, true)
 {
 }
 public DBConnector(string filename, DBTableDefinition tableDefinition) : this(filename, tableDefinition, true)
 {
 }