Question

In Dynamic Data, we can control what columns are shown using the ScaffoldColumnAttribute and the AutoGenerateField property of the DisplayAttribute.

Right now, I need to decorate the properties in my metadata classes one by one (I am using EF database first approach). And the problem is that I have an ever-changing model.

Is there any way to show only those properties defined in my metadata classes? That is - if the property is in the metadata class, do show, otherwise hide. Much appreciated.

Was it helpful?

Solution

I based my work on this Steve's fine article:

http://csharpbits.notaclue.net/2008/05/introduction-this-project-is-going-to.html

Thank you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top