コード例 #1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
コード例 #2
0
 public RoleRepository(RoomBookingDataContext db)
 {
     this._db = db;
 }
コード例 #3
0
 public UnitOfWork(RoomBookingDataContext context)
 {
     _context = context;
 }
コード例 #4
0
 public UserRepository(RoomBookingDataContext context)
 {
     this._context = context;
 }