Erick Asto Oblitas
Erick Asto Oblitas

Reputation: 1409

LinqPad Can I connect/and query a runtime object

I have a List with a lot of nested objects. And lines down a Linq Query very, very big. I execute and put a breakpoint here and ask... Can I connect LinqPad to Visual Studio debugger or take the dll, exe, anything, for get this list, and after in LinqPad make simplified query.

In LinqPad connections wizard exist these options: Linq to SQL, Entity Framework or (Linq to SQL "default") WCF Data Services, Microsoft DataMarketService. And none of them seems make this work.

Upvotes: 0

Views: 903

Answers (1)

svick
svick

Reputation: 245008

If you have a method that returns the big list, you can call that from LINQPad. To do that, press F4 in LINQPad, add a reference to your assembly (.dll or .exe) and optionally add the namespace of your class to namespace imports.

This won't connect you to VS debugger, but directly to the class you are creating.

Upvotes: 1

Related Questions