I am using ASP.NET Dynamic Data and I have to add ReadOnly attribute to one of the fields (UpdatedDate) of my class (FilterParameter).
So I need a solution so that I can add an attribute dynamically or statically on the condition that the original class is not changed (as I am using Entity Framework). I read about
MetadataType but still can't make it work.
I can supply code if you want.