From 11474146ab5b9f4fc852817c14530b4094a36bac Mon Sep 17 00:00:00 2001 From: VictoriaPresnyakova Date: Mon, 17 Apr 2023 18:54:12 +0400 Subject: [PATCH] db implement done lab 6 --- .../Implements/ImplementerStorage.cs | 1 + JewelryStoreDatabaseImplement/JewelryStoreDataBase.cs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/JewelryStoreDatabaseImplement/Implements/ImplementerStorage.cs b/JewelryStoreDatabaseImplement/Implements/ImplementerStorage.cs index f3a4061..886b090 100644 --- a/JewelryStoreDatabaseImplement/Implements/ImplementerStorage.cs +++ b/JewelryStoreDatabaseImplement/Implements/ImplementerStorage.cs @@ -2,6 +2,7 @@ using JewelryStoreContracts.SearchModels; using JewelryStoreContracts.StoragesContracts; using JewelryStoreContracts.ViewModels; +using JewelryStoreDatabaseImplement.Models; using System; using System.Collections.Generic; using System.Linq; diff --git a/JewelryStoreDatabaseImplement/JewelryStoreDataBase.cs b/JewelryStoreDatabaseImplement/JewelryStoreDataBase.cs index cff4fa7..244174f 100644 --- a/JewelryStoreDatabaseImplement/JewelryStoreDataBase.cs +++ b/JewelryStoreDatabaseImplement/JewelryStoreDataBase.cs @@ -25,7 +25,9 @@ namespace JewelryStoreDatabaseImplement public virtual DbSet Jewels { set; get; } public virtual DbSet JewelComponents { set; get; } public virtual DbSet Orders { set; get; } - public virtual DbSet Clients { set; get; } + public virtual DbSet Clients { set; get; } + public virtual DbSet Implementers { set; get; } + } }