source: FarmatikoData/FarmatikoDataContext.cs@ a8ccc2c

Last change on this file since a8ccc2c was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Initial commit

  • Property mode set to 100644
File size: 753 bytes
Line 
1using FarmatikoData.Models;
2using Microsoft.EntityFrameworkCore;
3using System;
4using System.Collections.Generic;
5using System.Text;
6
7namespace FarmatikoData
8{
9 public class FarmatikoDataContext : DbContext
10 {
11 public FarmatikoDataContext(DbContextOptions options) : base(options) { }
12
13
14 public DbSet<HealthFacilities> HealthFacilities { get; set; }
15 public DbSet<HealthcareWorkers> HealthcareWorkers { get; set; }
16 public DbSet<Pharmacy> Pharmacies { get; set; }
17 public DbSet<PharmacyHead> PharmacyHeads { get; set; }
18 public DbSet<Pandemic> Pandemics { get; set; }
19 public DbSet<Medicine> Medicines { get; set; }
20 public DbSet<MedicineList> MedicineLists { get; set; }
21
22 }
23}
Note: See TracBrowser for help on using the repository browser.