The name 'whatever' does not exist in the current context
Options
We're using EF code first and I can successfully connect LINQPad using the DbContext from our assembly. The connection works and it generates the model just fine. However, when I try to do any queries, such as Whatever.Take(100) it returns the "does not exist in current context" error.
Any ideas?
Any ideas?
Comments
-
Do you see your entities in the schema explorer? What happens if you right-click an entity and choose one of the querying options, such as "Foo.Take(100)"?
-
I am having the same issue. I tried right clicking and doing a take(100) and it gives the same error. I have a screen shot i can email.
-
Got it, back .dll
-
bad .dll
-
I've got this problem too. Using 4.51.03 Premium. Schema explorer is populated and can be expanded. None of the right click options ie. Take(100) work either. I use the dll from the bin directory of my app so finding dependencies should be okay. Intellisense has the db types but not the actual databases. I'm using localdb BTW