public void FillLanguageTable() { Action <dynamic> ouput = (args) => { OutLineFormat(args.Message, args.Color, args.Parameters); }; string languageDatabasePath = DefaultConfiguration.GetAppSetting("languageDatabasePath"); FileInfo languageFile = new FileInfo(languageDatabasePath); DirectoryInfo directory = languageFile.Directory; SQLiteDatabase translationDb = new SQLiteDatabase(directory.FullName, Path.GetFileNameWithoutExtension(languageFile.FullName)); translationDb.TryEnsureSchema(typeof(Language)); TranslationProvider.EnsureLanguages(translationDb); }