0 votes

Hello, We are learning to use Orm Designer 2 and we have come accross a difficulty.

I was wondering how can I set the visibility of the attibutes as protected instead of private so I can inherit between objets in my models. Can this be done?

Thank you in advance.

asked in General Questions by (260 points)
recategorized by

1 Answer

0 votes
Best answer


We have chosen the private visibility as default value with considerations of secure coding: methods should be private unless they are part of the API.

So the private setting is used automatically, in order to avoid compromising security by possible oversights.

However, once the annotations are generated for the first time, you can manually set up the visibility for any method/property necessary. On subsequent import and export, your new setting will not be removed or modified by ORM Designer.

answered by Skipper developer (74.9k points)
selected by

ok so i want to set all by default to protected or public, i don't really care about "security" implications, this fits my needs and project needs
lets say i have average 80 tables * 2-15 fields, and i really don't feel comfortable with changing it by hand or scripting :/
so how can i achieve this by default?