data grid & projections?
Can I write a projection & have LinqPad produce the link to the projection in the grid results? Like it produces on FKs:
Like this: https://stackoverflow.com/a/23794102/185123 but w/ the grid view.
Can I write a projection & have LinqPad produce the link to the projection in the grid results? Like it produces on FKs:
Like this: https://stackoverflow.com/a/23794102/185123 but w/ the grid view.
Comments
The
OnDemand
extension method might help. This creates a DumpContainer that lazily expands a sequence.Eagerly:
Lazily (we need to ensure that LINQ-to-SQL does not include the projection in the expression tree):
or: