I am trying to not use Entity as suffix

Posts   
 
    
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 26-Mar-2008 00:35:31   

Is it possible not to have Entity as suffix for entity objects. We want to keep it Employee as Employee. The views & stored procedures are kind of ok. If available, are there any risk factors of doing so.

thanks

Walaa avatar
Walaa
Support Team
Posts: 14987
Joined: 21-Aug-2005
# Posted on: 26-Mar-2008 10:01:13   

You may remove the entity suffix from the code generation templates.

are there any risk factors of doing so

The Entity suffix ensures that no name clashes with other classes (.NET Framework classes, or classes of your application),

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39773
Joined: 17-Aug-2003
# Posted on: 26-Mar-2008 10:30:30   

As Walaa said: the suffix is there for a reason. I wouldn't recommend it to remove it, as sooner or later you'll run into a name clash which results in non-compilable code etc.

Frans Bouma | Lead developer LLBLGen Pro