Ignore:
Timestamp:
08/29/24 20:27:21 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
99d0ecc
Parents:
a850333
Message:

fix issues

fix bugs with nested tables
fix delete nested fk items

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Data/ApplicationDbContext.cs

    ra850333 re90ba32  
    6060            base.OnModelCreating(modelBuilder);
    6161
     62
     63            modelBuilder.Entity<BlogUsers>().HasNoKey().ToView("view_userss_consultationss");
     64            base.OnModelCreating(modelBuilder);
    6265            // Configure the relationship between VetCenter and CitiesClass
    63        
    6466
    65            
     67
     68
    6669            // ... model definition ...
    6770        }
     
    7376        public virtual DbSet<VetCenterWithCity> VetCentersWithCity { get; set; }
    7477
     78        public virtual DbSet<BlogUsers> BlogUsers { get; set; }
    7579        public virtual DbSet<BlogPostConsultation> BlogPostControllerObj { get; set; }
    7680        public virtual DbSet<RolesClass> RoleControllerObj { get; set; }
Note: See TracChangeset for help on using the changeset viewer.