Page 1 of 1

ScaffoldColumn for EntityClass

Posted: Fri 27 Apr 2018 06:11
by mvaccw
Hello,

I am loving Entity Developer and the only hurdle I have come across is setting the ScaffoldColumn for a field in an entity class.

I have a table called PLPPSGActionItem and it has 5 fields. One is the ID field which is auto-generated and another is the foreign key. I want to set these two fields to have the ScaffoldColumn(false), but I can't seem to find out how to do this?

I am using .NET Core EF and it works fine when I manually add it to the code, but this defeats the purpose of Entity Developer.

Many thanks

Michael

Re: ScaffoldColumn for EntityClass

Posted: Fri 27 Apr 2018 16:11
by Shalex
You can add custom attributes in the following way:
a) navigate to Model > Settings > Attributes > select the assembly with the needed attributes and make sure that the needed attributes are checked in the window below, press OK
b) select the needed attribute in the Attributes collection of a particular class property