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