Collection question

Posts   
 
    
Posts: 1
Joined: 02-Aug-2007
# Posted on: 02-Aug-2007 21:24:28   

I'm a newbie in LLBLGen, Is there a way to get a Collection that's in another Collection example, Select playerId from Players where (PlayerID (IN Select PlayerID in Player Address))? TY

DvK
User
Posts: 323
Joined: 22-Mar-2006
# Posted on: 02-Aug-2007 22:04:18   

yes, use a FieldCompareSetPredicate. Here you can build IN clauses with...

grtz, Danny

stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 02-Aug-2007 22:12:38   

Hello, You should use a FieldCompareSetPredicate object.

(See section > Using the generated code -> (adapter/selfservicing) -> Filtering and sorting -> the predicate system. in the manual )

edit: flushed Sorry for cross posting