Changeset 37c8d1d for FarmatikoData
- Timestamp:
- 07/23/20 19:59:03 (4 years ago)
- Branches:
- master
- Children:
- 785b8bd
- Parents:
- a8ccc2c
- Location:
- FarmatikoData
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoDataContext.cs
ra8ccc2c r37c8d1d 18 18 public DbSet<Pandemic> Pandemics { get; set; } 19 19 public DbSet<Medicine> Medicines { get; set; } 20 public DbSet<MedicineList> MedicineLists { get; set; }20 public virtual DbSet<MedicineList> MedicineLists { get; set; } 21 21 22 22 } -
FarmatikoData/Models/HealthFacilities.cs
ra8ccc2c r37c8d1d 11 11 { 12 12 public HealthFacilities() { } 13 [Required] 13 [Required] 14 14 public string Name { get; set; } 15 15 [Required] -
FarmatikoData/Models/MedicineList.cs
ra8ccc2c r37c8d1d 8 8 public class MedicineList : BaseEntity 9 9 { 10 public Medicine Medicine s{ get; set; }10 public Medicine Medicine { get; set; } 11 11 public bool HasMedicine { get; set; } 12 public ICollection<Medicine> MedicinesList { get; set; }12 /*public ICollection<MedicineList> MedicinesList { get; set; } 13 13 public MedicineList() 14 14 { 15 MedicinesList = new HashSet<Medicine>(); 16 } 17 15 MedicinesList = new HashSet<MedicineList>(); 16 }*/ 18 17 } 19 18 }
Note:
See TracChangeset
for help on using the changeset viewer.