Example #1
0
        public void LogOpenForPrinting(string title)
        {
            var dbcontext = new Model_PDFFinder();

            dbcontext.Statisticas.Where(x => x.group_name == title.Substring(0, 5)).First().processed_files_count++;

            dbcontext.SaveChanges();
        }
Example #2
0
        public void LogOpenForView()
        {
            var dbcontext = new Model_PDFFinder();

            dbcontext.Statisticas.Where(x => x.group_name == "NoGroup").First().processed_files_count++;

            dbcontext.SaveChanges();

            App.Current.Shutdown();
        }