ObeyWeakRelations in a dynamic list

Posts   
 
    
hplloyd
User
Posts: 191
Joined: 29-Oct-2004
# Posted on: 21-May-2006 17:33:51   

Hi,

I have a dynamic list that I am building and I add a relation

myBucket.Relations.Add(CubeDealItemUserEntity.Relations.UserEntityUsingOwnerID, JoinHint.Right);

However the SQL comes out as RIGHT JOIN.... what I need for my query to work is actually RIGHT OUTER JOIN

I have been reading about obeyweakrelations but how do I use it to get the RIGHT OUTER JOIN I need in a dynamic list.

A small illustrative piece of code would be great

Many thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 21-May-2006 20:13:10   

Set ObeyWeakRelations = true on the relationcollection you use for the dynamic list simple_smile

Frans Bouma | Lead developer LLBLGen Pro