- ABP Framework version: v5.3.0
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace: None
- Steps to reproduce the issue:
When I run ABP Suite create a new Entity, everything works (or appears to) and the UI / backend is correctly created including the migrations however the Entity DbSet Entires ae being placed into the wrong DbContext.cs I have two DbContext files. One for AbpIdentityServerDbContext.cs and the other for my App connections. For some reason the App Entities are defaulting to being added to the AbpIdentityServerDbContext, not the AppDbContext.cs. How do I ensure that ABP Suite adds the Entity to the correct db context?
%UserProfile%\.abp\suite\appsettings.jsonfile in your computer.
There you will see the list of solutions you added to ABP Suite. You can find the solution you mentioned and change
However, i can not guarantee that it will work with of your custom
AppDbContext.csfile content. But you can try.