Last change
on this file since 1f041f6 was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
753 bytes
|
Line | |
---|
1 | using FarmatikoData.Models;
|
---|
2 | using Microsoft.EntityFrameworkCore;
|
---|
3 | using System;
|
---|
4 | using System.Collections.Generic;
|
---|
5 | using System.Text;
|
---|
6 |
|
---|
7 | namespace 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.