Controlling Entity Names

Posts   
 
    
yk
User
Posts: 10
Joined: 07-Mar-2006
# Posted on: 07-Mar-2006 19:37:23   

Hi,

I'm using the demo version. All generated entity names end with a "Entity" string (e.g. the Order table is mapped to an OrderEntity class). Is this just for demo purposes or can I control this somewhere?

Thanks,

YK

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39930
Joined: 17-Aug-2003
# Posted on: 07-Mar-2006 20:10:40   

This is by design. Framework design guidelines suggest that if a class extends another class, it should be suffixed with that name, so if you have a class Entity and it's extended as a Customer entity, it should be named CustomerEntity, as it extends 'Entity', hence the suffix.

Frans Bouma | Lead developer LLBLGen Pro