Exemple #1
0
        public void Close()
        {
            container.PdfFileSet.RemoveRange(container.PdfFileSet);
            container.SaveChanges();
            container.Dispose();

            var files = Directory.EnumerateFiles(storePath);

            foreach (var item in files)
            {
                File.Delete(item);
            }
        }
Exemple #2
0
 public void Close()
 {
     container.UserSet.RemoveRange(container.UserSet);
     container.SaveChanges();
     container.Dispose();
 }