ScaffoldColumn for EntityClass

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mvaccw
Posts: 1
Joined: Fri 27 Apr 2018 06:05

ScaffoldColumn for EntityClass

Post by mvaccw » Fri 27 Apr 2018 06:11

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: ScaffoldColumn for EntityClass

Post by Shalex » Fri 27 Apr 2018 16:11

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

Post Reply