Ejemplo n.º 1
0
        static void Main()
        {
            var databaseFile = ConfigurationHelper.GetConfigurationValue("DatabaseFile");

            SQLiteConnectionStringHelper.Database = databaseFile;

            DatabaseMaker.CreateDatabaseIfNotExists();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainView());
        }
Ejemplo n.º 2
0
    public static void BuildElementDatabase()
    {
        DatabaseMaker <MonsterDatabase, MonsterData> databaseMaker = new DatabaseMaker <MonsterDatabase, MonsterData>();

        databaseMaker.Make(rootDataPath, "monsterDB", "monsterData", "Monster", "monster");
    }