Home
Options

Linq to EF; "The name does not exist in the current context"

New to LinqPad. Support an web solution that uses Linq/EF/SQL to create reports.
One of these reports is bad, and I need to update.

As I didn't create the initial EF I'm having trouble reverse engineering. Hoping to use LinqPad to test my queries.

When I connect to LinqPad and create a EF connection / object context from the compiled DLL. I get a tree and can see it on the left hand side.

Whenever I browse the object / query top 100 I get the error:

Example:
The name 'Agencies' does not exist in the current context

I assume it's my dll, but how do i troubleshoot. It doesn't give any context to what the error is?

Thx in advance,

Josh
Sign In or Register to comment.