protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
Beispiel #2
0
 public static void resetConnString()
 {
     db.Dispose();
     db = new POSDBContext();
 }