LinqPad – Convert SQL to Linq command

There is a tool called Linqer, but be careful: transliterating from SQL to LINQ can give you the worst of both worlds. For instance, suppose you want all purchases of $1000 or greater paid for in cash or by customers who live in Washington. Here’s the query in SQL: SELECT p.* FROM Purchase p LEFT … Read more

LINQPad [extension] methods [closed]

LINQPad defines two extension methods (in LINQPad.Extensions), namely Dump() and Disassemble(). Dump() writes to the output window using LINQPad’s output formatter and is overloaded to let you specify a heading: typeof (int).Assembly.Dump (); typeof (int).Assembly.Dump (“mscorlib”); You can also specify a maximum recursion depth to override the default of 5 levels: typeof (int).Assembly.Dump (1); // … Read more