Last change
on this file since d8fafb8 was e42f61a, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add more services
|
-
Property mode
set to
100644
|
File size:
710 bytes
|
Line | |
---|
1 | using FarmatikoData.Models;
|
---|
2 | using Microsoft.EntityFrameworkCore;
|
---|
3 |
|
---|
4 | namespace FarmatikoData
|
---|
5 | {
|
---|
6 | public class FarmatikoDataContext : DbContext
|
---|
7 | {
|
---|
8 | public FarmatikoDataContext(DbContextOptions options) : base(options) { }
|
---|
9 |
|
---|
10 |
|
---|
11 | public DbSet<HealthFacilities> HealthFacilities { get; set; }
|
---|
12 | public DbSet<HealthcareWorkers> HealthcareWorkers { get; set; }
|
---|
13 | public DbSet<Pharmacy> Pharmacies { get; set; }
|
---|
14 | public DbSet<PharmacyHead> PharmacyHeads { get; set; }
|
---|
15 | public virtual DbSet<Pandemic> Pandemics { get; set; }
|
---|
16 | public virtual DbSet<Medicine> Medicines { get; set; }
|
---|
17 | public virtual DbSet<MedicineList> MedicineLists { get; set; }
|
---|
18 |
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.