public DentistRepository(SisOdontoContext db)
 {
     _db       = db;
     _dentists = _db.Set <Dentist>();
     _disposed = false;
 }
Example #2
0
 public PatientRepository(SisOdontoContext db)
 {
     _db       = db;
     _patients = _db.Set <Patient>();
     _disposed = false;
 }
 public AttendantRepository(SisOdontoContext db)
 {
     _db         = db;
     _attendants = _db.Set <Attendant>();
     _disposed   = false;
 }
 public SchedulingRepository(SisOdontoContext db)
 {
     _db        = db;
     _schedules = _db.Set <Scheduling>();
     _disposed  = false;
 }
Example #5
0
 public UserRepository(SisOdontoContext db)
 {
     _db       = db;
     _users    = _db.Set <User>();
     _disposed = false;
 }
Example #6
0
 public HealthInsuranceRepository(SisOdontoContext db)
 {
     _db = db;
     _healthInsurances = _db.Set<HealthInsurance>();
     _disposed = false;
 }