Ver código fonte

Обновлена база данных в приложении

lyudmila.archackowa 8 meses atrás
pai
commit
9b437ff5e9
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      AvaloniaApplicationBase/Models/CatBaseContext.cs

+ 0 - 2
AvaloniaApplicationBase/Models/CatBaseContext.cs

@@ -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");
         });