Making Entity properties protected rather than public

Posts   
 
    
Mountain
User
Posts: 21
Joined: 01-Apr-2005
# Posted on: 07-Apr-2005 00:36:19   

For the Entity properties that correspond to our database columns, I would like to make them protected (by changing the template). If we always derive from these classes and make our own public methods where needed, will anything else in the generated code or ORM support classes break by making these methods protected? Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39752
Joined: 17-Aug-2003
# Posted on: 07-Apr-2005 09:20:21   

No they should be fine. The runtime libraries use the Fields object.

Frans Bouma | Lead developer LLBLGen Pro