nobody can give me a hint on this one? On Tue, Dec 16, 2008 at 7:37 PM, Jan Limpens <[email protected]> wrote:
> at least > > query.Where(article => categoryKeys.All(c=> > article.Categories.Select(cc => cc.Key).Contains(c))); > > is ignored completely (no wonder) > > On Tue, Dec 16, 2008 at 7:24 PM, Jan Limpens <[email protected]> > wrote: > > Hello Linq wizards, > > > > Nh2linq translates > > > > query.Where(article => article.Categories.Any(c => > > categoryKeys.Contains(c.Key))); > > > > correctly into: > > > > ... and c1_.Key in ( @p3, @p4 ) ) ... > > > > How could I tell it to make something like: > > > > ... and c1_.Key = @p3 and c1_.Key = @p4 ) ) ... > > > > ? > > > > Can this be done? > > > > -- > > Jan > > > > > > -- > Jan > -- Jan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
