static void Main() { var databaseFile = ConfigurationHelper.GetConfigurationValue("DatabaseFile"); SQLiteConnectionStringHelper.Database = databaseFile; DatabaseMaker.CreateDatabaseIfNotExists(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainView()); }
public static void BuildElementDatabase() { DatabaseMaker <MonsterDatabase, MonsterData> databaseMaker = new DatabaseMaker <MonsterDatabase, MonsterData>(); databaseMaker.Make(rootDataPath, "monsterDB", "monsterData", "Monster", "monster"); }