From dee5de3f82c804466b387ccc02f8ea17e983205f Mon Sep 17 00:00:00 2001 From: Ino Date: Wed, 3 May 2023 11:37:32 +0400 Subject: [PATCH] Revert "fix" This reverts commit 4b37411891d59e488324afc220fdeccf93285095. --- .../Migrations/IceCreamShopDatabaseModelSnapshot.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IceCreamShop/IceCreamShopDatabaseImplement/Migrations/IceCreamShopDatabaseModelSnapshot.cs b/IceCreamShop/IceCreamShopDatabaseImplement/Migrations/IceCreamShopDatabaseModelSnapshot.cs index f8d2a55..8afb064 100644 --- a/IceCreamShop/IceCreamShopDatabaseImplement/Migrations/IceCreamShopDatabaseModelSnapshot.cs +++ b/IceCreamShop/IceCreamShopDatabaseImplement/Migrations/IceCreamShopDatabaseModelSnapshot.cs @@ -285,6 +285,13 @@ namespace IceCreamShopDatabaseImplement.Migrations b.Navigation("Implementer"); }); + modelBuilder.Entity("IceCreamShopDatabaseImplement.Models.Shop", b => + { + b.HasOne("IceCreamShopDatabaseImplement.Models.IceCream", null) + .WithMany("Shops") + .HasForeignKey("IceCreamId"); + }); + modelBuilder.Entity("IceCreamShopDatabaseImplement.Models.ShopIcecream", b => { b.HasOne("IceCreamShopDatabaseImplement.Models.IceCream", "IceCream")