get the name of an entity object

Posts   
 
    
zz7gp3
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 14:28:58   

hi all,

i'd like to know how to get the name of an entity as it is shown in LLBLgen Pro in my sourcecode and how can i get the informations about the anderlying database tables?

thanx for help in advanced and regards

christoph balzer

Aurelien avatar
Aurelien
Support Team
Posts: 162
Joined: 28-Jun-2006
# Posted on: 16-Apr-2007 14:43:03   

Hi,

Maybe you can use the EntityBase(2) property called LLBLGenProEntityName ?

zz7gp3
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 15:58:52   

don't know, but this is part of my code:

RoomEntity _Room = new RoomEntity();

i'd expect something like:

_Room.Name or _Room.EntitiyName or ???. so, how do i have to interpret your suggestion?

Aurelien avatar
Aurelien
Support Team
Posts: 162
Joined: 28-Jun-2006
# Posted on: 16-Apr-2007 16:00:27   

Hi,

Sorry, I'm not very clear :

_Room.LLBLGenProEntityName
zz7gp3
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 16:11:25   

thanx for again immediate annswer, but in the meantime i found the problem AND the solution.

problem:

if you type for example _Room. and wait for intellisense, you won't get "LLBLGenProEntityName" as a suggestion.

solution:

you have to type for example _Room.LLBLGenProEntityName and you'll get ne compile error.

thanx again