For example if you have
public class user
{
public string x { get; set; }
[ScaffoldColumn(false)]
public string y { get; set; }
}
Is there anyway, when I look at the entity to determine if y is indeed has scaffold column to false? I have tried looping through programatically like so (pseudo-code):
foreach(var prop in user.GetProperties())
{
var attributes = prop.Attributes;
}
but there seems to be no property attribute of the properties or to indicate weather the property (in this case y) is a scaffoldcolumn or not.