ATable.Dump()
in linqpad returns the whole ATable.
However, ATable.Single().MassiveColumn
contains too much data and it fills up the whole results page.
Is there a way to either:
Write this more concisely
ATable.Select(t=> new {col1 = t.column1, col2 = t.column2, ..., coln = t.columnn})
and omitMassiveColumn
. (The table has about 20 columns and I want to select everything exceptMassiveColumn
)Hide
MassiveColumn
from being dumped.
Or is there any other options to restrict the dump to on开发者_JAVA技巧ly allow one line per row.
There's an option to limit column widths in Edit | Preferences | Advanced (last option in list).
Would that help?
This should also work:
ATable.Dump(exclude:"MassiveColumn");
If you want to exclude more columns, you can do this
ATable.Dump(exclude:"MassiveColumn1,MassiveColumn2");
精彩评论