How to hide a foreign key column in dynamic data 4.0
Hey man! I think the easiest way for you is to use MetaData and set something like Attribute to the public property , Something looks like this:
public class XXX
{
[ScaffoldColumn(false)] public string ForeignKey{get;set;}
…………
}