public void Dispose()
 {
     if (_context != null)
     {
         _context.Dispose();
         _context = null;
     }
 }
 public AuthorityRepository(TeleMedicineContext context) : base(context)
 {
 }
 public Repository(TeleMedicineContext context)
 {
     _context = context;
     dbSet    = _context.Set <T>();
 }
Ejemplo n.º 4
0
 public UnitOfWork(TeleMedicineContext context)
 {
     _context = context;
 }