Typed fieldname of 'field on related field'

Posts   
 
    
BertS
User
Posts: 89
Joined: 28-Jul-2005
# Posted on: 09-Mar-2007 09:55:32   

Hi all,

I want to use the fieldname of a 'field on related field', is that available in any enum? It's (correctly) not available in the entityfieldindex, but maybe somewhere else? I would like to use it strontly typed instead of a string.

thanx, Bert

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 09-Mar-2007 11:31:56   

If you use the same name as the mapped related field you could use that field index. It's not in a field index of the entity the field is mapped in.

Frans Bouma | Lead developer LLBLGen Pro
BertS
User
Posts: 89
Joined: 28-Jul-2005
# Posted on: 09-Mar-2007 11:35:21   

I also thought about that, but hoped there was somewhere a collection of related fields. But ok, I will use this method. Thanx