source: FarmatikoData/FarmatikoDataContext.cs@ afc9a9a

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

Add migration and stuff

  • Property mode set to 100644
File size: 870 bytes
RevLine 
[30a465f]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
[1454207]11 public virtual DbSet<HealthFacility> HealthFacilities { get; set; }
12 public virtual DbSet<HealthcareWorker> HealthcareWorkers { get; set; }
[5d02859]13 public virtual DbSet<Pharmacy> Pharmacies { get; set; }
14 public virtual DbSet<PharmacyHead> PharmacyHeads { get; set; }
[de2baac]15 public virtual DbSet<Pandemic> Pandemics { get; set; }
16 public virtual DbSet<Medicine> Medicines { get; set; }
[afc9a9a]17 //public virtual DbSet<MedicineList> MedicineLists { get; set; }
[1454207]18 public virtual DbSet<RequestPharmacyHead> PHRequests { get; set; }
[d23bf72]19 public virtual DbSet<User> Users { get; set; }
[30a465f]20 }
21}
Note: See TracBrowser for help on using the repository browser.