Changeset e90ba32 for PostgreSqlDotnetCore/Data
- Timestamp:
- 08/29/24 20:27:21 (3 months ago)
- Branches:
- main
- Children:
- 99d0ecc
- Parents:
- a850333
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Data/ApplicationDbContext.cs
ra850333 re90ba32 60 60 base.OnModelCreating(modelBuilder); 61 61 62 63 modelBuilder.Entity<BlogUsers>().HasNoKey().ToView("view_userss_consultationss"); 64 base.OnModelCreating(modelBuilder); 62 65 // Configure the relationship between VetCenter and CitiesClass 63 64 66 65 67 68 66 69 // ... model definition ... 67 70 } … … 73 76 public virtual DbSet<VetCenterWithCity> VetCentersWithCity { get; set; } 74 77 78 public virtual DbSet<BlogUsers> BlogUsers { get; set; } 75 79 public virtual DbSet<BlogPostConsultation> BlogPostControllerObj { get; set; } 76 80 public virtual DbSet<RolesClass> RoleControllerObj { get; set; }
Note:
See TracChangeset
for help on using the changeset viewer.