Example #1
0
 protected void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (db != null)
         {
             db.Dispose();
             db = null;
         }
     }
 }
Example #2
0
 protected void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (db != null)
         {
             db.Dispose();
             db = null;
         }
     }
 }
Example #3
0
 public BooksRepository(BooksModel db)
 {
     this.db = db;
 }
Example #4
0
 public BooksRepository(BooksModel db)
 {
     this.db = db;
 }