From 164d575d9872460da9d47e9bfb824fa28e3ddc1e Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Wed, 29 May 2024 08:08:58 +0300 Subject: [PATCH] refactor: move database-related projects to a separate folder --- .../Contexts/Schedule/CampusDbContext.cs | 0 .../Contexts/Schedule/DisciplineDbContext.cs | 0 .../Contexts/Schedule/FacultyDbContext.cs | 0 .../Persistence}/Contexts/Schedule/GroupDbContext.cs | 0 .../Contexts/Schedule/LectureHallDbContext.cs | 0 .../Contexts/Schedule/LessonAssociationDbContext.cs | 0 .../Contexts/Schedule/LessonDbContext.cs | 0 .../Contexts/Schedule/ProfessorDbContext.cs | 0 .../Contexts/Schedule/SpecificWeekDbContext.cs | 0 .../Contexts/Schedule/TypeOfOccupationDbContext.cs | 0 .../Persistence}/DbInitializer.cs | 0 .../Persistence}/DependencyInjection.cs | 0 .../Schedule/CampusConfiguration.cs | 0 .../Schedule/DisciplineConfiguration.cs | 0 .../Schedule/FacultyConfiguration.cs | 0 .../Schedule/GroupConfiguration.cs | 0 .../Schedule/LectureHallConfiguration.cs | 0 .../Schedule/LessonAssociationConfiguration.cs | 0 .../Schedule/LessonConfiguration.cs | 0 .../Schedule/ProfessorConfiguration.cs | 0 .../Schedule/SpecificWeekConfiguration.cs | 0 .../Schedule/TypeOfOccupationConfiguration.cs | 0 .../Persistence}/Persistence.csproj | 12 ++++-------- .../Persistence}/UberDbContext.cs | 0 24 files changed, 4 insertions(+), 8 deletions(-) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/CampusDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/DisciplineDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/FacultyDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/GroupDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/LectureHallDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/LessonAssociationDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/LessonDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/ProfessorDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/SpecificWeekDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/Contexts/Schedule/TypeOfOccupationDbContext.cs (100%) rename {Persistence => SqlData/Persistence}/DbInitializer.cs (100%) rename {Persistence => SqlData/Persistence}/DependencyInjection.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/CampusConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/DisciplineConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/FacultyConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/GroupConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/LectureHallConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/LessonAssociationConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/LessonConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/ProfessorConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/SpecificWeekConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/EntityTypeConfigurations/Schedule/TypeOfOccupationConfiguration.cs (100%) rename {Persistence => SqlData/Persistence}/Persistence.csproj (85%) rename {Persistence => SqlData/Persistence}/UberDbContext.cs (100%) diff --git a/Persistence/Contexts/Schedule/CampusDbContext.cs b/SqlData/Persistence/Contexts/Schedule/CampusDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/CampusDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/CampusDbContext.cs diff --git a/Persistence/Contexts/Schedule/DisciplineDbContext.cs b/SqlData/Persistence/Contexts/Schedule/DisciplineDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/DisciplineDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/DisciplineDbContext.cs diff --git a/Persistence/Contexts/Schedule/FacultyDbContext.cs b/SqlData/Persistence/Contexts/Schedule/FacultyDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/FacultyDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/FacultyDbContext.cs diff --git a/Persistence/Contexts/Schedule/GroupDbContext.cs b/SqlData/Persistence/Contexts/Schedule/GroupDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/GroupDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/GroupDbContext.cs diff --git a/Persistence/Contexts/Schedule/LectureHallDbContext.cs b/SqlData/Persistence/Contexts/Schedule/LectureHallDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/LectureHallDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/LectureHallDbContext.cs diff --git a/Persistence/Contexts/Schedule/LessonAssociationDbContext.cs b/SqlData/Persistence/Contexts/Schedule/LessonAssociationDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/LessonAssociationDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/LessonAssociationDbContext.cs diff --git a/Persistence/Contexts/Schedule/LessonDbContext.cs b/SqlData/Persistence/Contexts/Schedule/LessonDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/LessonDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/LessonDbContext.cs diff --git a/Persistence/Contexts/Schedule/ProfessorDbContext.cs b/SqlData/Persistence/Contexts/Schedule/ProfessorDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/ProfessorDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/ProfessorDbContext.cs diff --git a/Persistence/Contexts/Schedule/SpecificWeekDbContext.cs b/SqlData/Persistence/Contexts/Schedule/SpecificWeekDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/SpecificWeekDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/SpecificWeekDbContext.cs diff --git a/Persistence/Contexts/Schedule/TypeOfOccupationDbContext.cs b/SqlData/Persistence/Contexts/Schedule/TypeOfOccupationDbContext.cs similarity index 100% rename from Persistence/Contexts/Schedule/TypeOfOccupationDbContext.cs rename to SqlData/Persistence/Contexts/Schedule/TypeOfOccupationDbContext.cs diff --git a/Persistence/DbInitializer.cs b/SqlData/Persistence/DbInitializer.cs similarity index 100% rename from Persistence/DbInitializer.cs rename to SqlData/Persistence/DbInitializer.cs diff --git a/Persistence/DependencyInjection.cs b/SqlData/Persistence/DependencyInjection.cs similarity index 100% rename from Persistence/DependencyInjection.cs rename to SqlData/Persistence/DependencyInjection.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/CampusConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/CampusConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/CampusConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/CampusConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/DisciplineConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/DisciplineConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/DisciplineConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/DisciplineConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/FacultyConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/FacultyConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/FacultyConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/FacultyConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/GroupConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/GroupConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/GroupConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/GroupConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/LectureHallConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/LectureHallConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/LectureHallConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/LectureHallConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/LessonAssociationConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/LessonAssociationConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/LessonAssociationConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/LessonAssociationConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/LessonConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/LessonConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/LessonConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/LessonConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/ProfessorConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/ProfessorConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/ProfessorConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/ProfessorConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/SpecificWeekConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/SpecificWeekConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/SpecificWeekConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/SpecificWeekConfiguration.cs diff --git a/Persistence/EntityTypeConfigurations/Schedule/TypeOfOccupationConfiguration.cs b/SqlData/Persistence/EntityTypeConfigurations/Schedule/TypeOfOccupationConfiguration.cs similarity index 100% rename from Persistence/EntityTypeConfigurations/Schedule/TypeOfOccupationConfiguration.cs rename to SqlData/Persistence/EntityTypeConfigurations/Schedule/TypeOfOccupationConfiguration.cs diff --git a/Persistence/Persistence.csproj b/SqlData/Persistence/Persistence.csproj similarity index 85% rename from Persistence/Persistence.csproj rename to SqlData/Persistence/Persistence.csproj index 37f0a7f..d191edd 100644 --- a/Persistence/Persistence.csproj +++ b/SqlData/Persistence/Persistence.csproj @@ -13,11 +13,11 @@ - - + + - - + + @@ -25,8 +25,4 @@ - - - - \ No newline at end of file diff --git a/Persistence/UberDbContext.cs b/SqlData/Persistence/UberDbContext.cs similarity index 100% rename from Persistence/UberDbContext.cs rename to SqlData/Persistence/UberDbContext.cs