locked
Dynamic data-hiding foreign key columns RRS feed

  • Question

  • User1410850330 posted

    How to hide a foreign key column in dynamic data 4.0

    Wednesday, February 9, 2011 7:43 AM

Answers

  • User3866881 posted

    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;}

    …………

    }

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, February 9, 2011 10:13 PM