Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (db != null)
         {
             db.Dispose();
         }
         db.Dispose();
     }
     base.Dispose(disposing);
 }