diff options
Diffstat (limited to 'Models/DataContext.cs')
-rw-r--r-- | Models/DataContext.cs | 8 |
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>(); |