|
@@ -74,12 +74,10 @@ public partial class CatBaseContext : DbContext
|
|
|
|
|
|
entity.HasOne(d => d.IdCatNavigation).WithMany(p => p.TraitCatTables)
|
|
|
.HasForeignKey(d => d.IdCat)
|
|
|
- .OnDelete(DeleteBehavior.ClientSetNull)
|
|
|
.HasConstraintName("trait_cat_table_fk");
|
|
|
|
|
|
entity.HasOne(d => d.IdTraitNavigation).WithMany(p => p.TraitCatTables)
|
|
|
.HasForeignKey(d => d.IdTrait)
|
|
|
- .OnDelete(DeleteBehavior.ClientSetNull)
|
|
|
.HasConstraintName("trait_cat_table_fk_1");
|
|
|
});
|
|
|
|