You need to add a reference to the entity framework lib (to the project where your code resides).
Intellisense not appearing for DbSet class
-
11-10-2022 - |
Question
My intellisense is not appearing for my DbSet class.
DBContext db = new DBContext();
IEnumerable<Element> elements = db.Elements.[NO INTELLISENSE HERE]
The fully qualified name is System.Data.Entity.DbSet
.
I have a reference to System.Web.Mvc
at the top of my file.
The code compiles and runs without any issues.
What is the problem here and/or how to I go about debugging it and then fixing it?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow