Mapped relation name (in .lpt)

Posts   
 
    
knez
User
Posts: 37
Joined: 01-Nov-2004
# Posted on: 21-Dec-2005 10:51:20   

Hi!

I didn't find answer to problem I'm trying to solve, so I need your help.

I can't find a way to get mapped relation name for EntityRelation object.

I am going through RelatedEntitiesAndRelations for EntityDefinition object and for each related EntityDefinition object I need to get it's mapped relation name.

Am I missing something?

Thanks.

knez
User
Posts: 37
Joined: 01-Nov-2004
# Posted on: 21-Dec-2005 11:14:38   

Well, I found UtilizingPropertyName property which did provide me a mapped relation name, but is it what I was looking for? (If it is, name and documentation is not clear to me cry )

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 21-Dec-2005 11:17:29   

It's called indeed UtilizingPropertyName, which is a property of EntityRelation. As the name is internally logical, but for a gui not useful, it's not used as 'utilizing property name' on the gui. Its the name of the property which will utilize the relation simple_smile (at least that was the reasoning for the name. )

Frans Bouma | Lead developer LLBLGen Pro