Beispiel #1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
Beispiel #2
0
 public UnitOfWork(RoomBookingDataContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public UserRepository(RoomBookingDataContext context)
 {
     this._context = context;
 }