Home > Enterprise >  NET6 - Intellisense is not showing my table/DBSet under DBContext
NET6 - Intellisense is not showing my table/DBSet under DBContext

Time:11-16

After configuring DBContext, the DBSet that I added ("MyTable") is not showing up in Intellisense. I have EFCore Design, SQLServer and Tools installed, all v6.0.11. Please look at my code in the screenshots below and let me know what I am missing. Note: I haven't run the project yet since doing all of the below DBContext configuration.

enter image description here

In 11 line, you should change

private readonly DbContext _dbContext 

For

private readonly MyContext _dbContext 
  • Related