Exemplo n.º 1
0
        public static RPPDatabase LoadRPPDatabase(bool _FirstTimeLoading = false)
        {
            GC.Collect();
            RPPDatabase database = new RPPDatabase(Constants.RPPDbDir + "Database\\");//, new DateTime(2016, 1, 1, 0, 0, 0));

            database.PurgeRealmDBs(true, true, (_FirstTimeLoading == false));
            GC.Collect();
            return(database);
        }
Exemplo n.º 2
0
 private static VF_RealmPlayersDatabase.Database _NotCached_GetDatabase(string _DatabaseDirectory)
 {
     VF_RealmPlayersDatabase.Database rppDatabase = new VF_RealmPlayersDatabase.Database(_DatabaseDirectory);
     rppDatabase.PurgeRealmDBs(true, false);
     return(rppDatabase);
 }