source: FarmatikoData/FarmatikoDataContext.cs@ afc9a9a

Last change on this file since afc9a9a was afc9a9a, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Add migration and stuff

  • Property mode set to 100644
File size: 870 bytes
Line 
1using FarmatikoData.Models;
2using Microsoft.EntityFrameworkCore;
3
4namespace FarmatikoData
5{
6 public class FarmatikoDataContext : DbContext
7 {
8 public FarmatikoDataContext(DbContextOptions options) : base(options) { }
9
10
11 public virtual DbSet<HealthFacility> HealthFacilities { get; set; }
12 public virtual DbSet<HealthcareWorker> HealthcareWorkers { get; set; }
13 public virtual DbSet<Pharmacy> Pharmacies { get; set; }
14 public virtual 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 public virtual DbSet<RequestPharmacyHead> PHRequests { get; set; }
19 public virtual DbSet<User> Users { get; set; }
20 }
21}
Note: See TracBrowser for help on using the repository browser.