Удобное размещение по папкам

This commit is contained in:
Николай 2023-04-01 16:33:26 +04:00
parent e948a1c60f
commit 98151dc393
11 changed files with 19 additions and 10 deletions

View File

@ -1,4 +1,6 @@
using HardwareShopDatabaseImplement.Models; using HardwareShopDatabaseImplement.Models;
using HardwareShopDatabaseImplement.Models.ModelsManyToMany;
using HardwareShopDatabaseImplement.Models.ModelsStorekeeper;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace HardwareShopDatabaseImplement namespace HardwareShopDatabaseImplement

View File

@ -20,4 +20,8 @@
<ProjectReference Include="..\HardwareShopDataModels\HardwareShopDataModels.csproj" /> <ProjectReference Include="..\HardwareShopDataModels\HardwareShopDataModels.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Implements\" />
</ItemGroup>
</Project> </Project>

View File

@ -5,8 +5,9 @@ using System.ComponentModel.DataAnnotations.Schema;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using HardwareShopDatabaseImplement.Models.ModelsStorekeeper;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsManyToMany
{ {
public class BuildComponent public class BuildComponent
{ {

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsManyToMany
{ {
public class PurchaseBuild public class PurchaseBuild
{ {

View File

@ -5,8 +5,9 @@ using System.ComponentModel.DataAnnotations.Schema;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using HardwareShopDatabaseImplement.Models.ModelsStorekeeper;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsManyToMany
{ {
public class PurchaseGood public class PurchaseGood
{ {

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsStorekeeper
{ {
public class Component : IComponentModel public class Component : IComponentModel
{ {

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsStorekeeper
{ {
public class Good : IGoodModel public class Good : IGoodModel
{ {

View File

@ -2,7 +2,7 @@
using HardwareShopDataModels.Models; using HardwareShopDataModels.Models;
using HardwareShopDataModels.Models; using HardwareShopDataModels.Models;
using System.ComponentModel; using System.ComponentModel;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsStorekeeper
{ {
public class Order : IOrderModel public class Order : IOrderModel
{ {

View File

@ -1,11 +1,11 @@
using HardwareShopContracts.BindingModels; using HardwareShopContracts.BindingModels;
using HardwareShopContracts.ViewModels; using HardwareShopContracts.ViewModels;
using HardwareShopDatabaseImplement.Models.ModelsManyToMany;
using HardwareShopDataModels.Models; using HardwareShopDataModels.Models;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsWorker
{ {
public class Build : IBuildModel public class Build : IBuildModel
{ {

View File

@ -4,7 +4,7 @@ using HardwareShopDataModels.Models;
using System.ComponentModel; using System.ComponentModel;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsWorker
{ {
public class Comment : ICommentModel public class Comment : ICommentModel
{ {

View File

@ -1,11 +1,12 @@
using HardwareShopContracts.BindingModels; using HardwareShopContracts.BindingModels;
using HardwareShopContracts.ViewModels; using HardwareShopContracts.ViewModels;
using HardwareShopDatabaseImplement.Models.ModelsManyToMany;
using HardwareShopDataModels.Enums; using HardwareShopDataModels.Enums;
using HardwareShopDataModels.Models; using HardwareShopDataModels.Models;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics; using System.Diagnostics;
namespace HardwareShopDatabaseImplement.Models namespace HardwareShopDatabaseImplement.Models.ModelsWorker
{ {
public class Purchase : IPurchaseModel public class Purchase : IPurchaseModel
{ {