How to set [ScaffoldColumn (false)] to default value for dynamic data?

I have several tables with a lot of columns with which I use Dynamic Data. I want to show only a small subset of columns.

Currently, when Dynamic Data creates a table, it creates all columns, unless I set [ScaffoldColumn (false)] to false. This works, but since I want to display only a small subset of the columns, it would be easier to turn them on rather than off.

Is there a way to change the default behavior so that the column is not tinted unless I tell it?

+3
source share

Source: https://habr.com/ru/post/1717953/


All Articles