public Repository(BibleVersion version) { var dbpath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "MyBibles", "Bibles", string.Concat(version.ToString(), ".SQLite3")); Db = new SQLiteConnection(dbpath); Db.CreateTable <Book>(); Db.CreateTable <Verse>(); Db.CreateTable <Info>(); }