summaryrefslogtreecommitdiff
path: root/Models/DataContext.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-02-01 09:26:53 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-02-01 09:26:53 +0300
commit2a238d65e4ce66d6c79d287a19cefcda96afc747 (patch)
treebf8a1a9c296f9b7b71460418d624d5d2a183b98b /Models/DataContext.cs
parent8faebbd63cf19fd21947c1f98ac80cc2e714c5ba (diff)
Edit Seed data class
Diffstat (limited to 'Models/DataContext.cs')
-rw-r--r--Models/DataContext.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Models/DataContext.cs b/Models/DataContext.cs
index c874420..23e80ab 100644
--- a/Models/DataContext.cs
+++ b/Models/DataContext.cs
@@ -15,10 +15,10 @@ namespace MyDarling.Models
opts.UseSqlite(configuration.GetConnectionString("MyDarlingDb"));
}
- protected override void OnModelCreating(ModelBuilder builder)
- {
- builder.Entity<UnderwearBundle>().HasMany(b => b.Figures).WithOne();
- }
+ // protected override void OnModelCreating(ModelBuilder builder)
+ // {
+ // builder.Entity<UnderwearBundle>().HasMany(b => b.Figures).WithOne();
+ // }
public DbSet<UnderwearBundle> UnderwearBundles => Set<UnderwearBundle>();
public DbSet<Figure> Figures => Set<Figure>();