Relation To Predicate

Posts   
 
    
Chaoyster
User
Posts: 40
Joined: 23-Mar-2011
# Posted on: 07-Apr-2011 20:42:00   

Is it possible to get predicate from a relation?

for example,

I have ClientsEntity.Relations.OrdersEntityUsingClientId. I'd like to get new predicateExpression(ClientsFields.ClientId == OrdersFields.ClientId)

Thanks,

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 08-Apr-2011 05:59:19   

Hi,

There is no such built-in method. You have to do it manual or you can construct your own helper method for this.

(Edit) Please post on the right forum, which in this case is Generated Code forum. Otherwise your question's answer delays.

David Elizondo | LLBLGen Support Team