better? var companiers_that_use_supplier3 = session.Linq<Company>().Where (c=>c.Suppliers.Any(x=>x==s));
Tuna Toksoz wrote: > just a guess > > var companiers_that_use_supplier3 = session.Linq<Company>() > .Where (c=>c.Suppliers.Count(x=>x==s)>0); > > > Tuna Toksöz > http://tunatoksoz.com > http://turkiyealt.net > http://twitter.com/tehlike > > Typos included to enhance the readers attention! > > > > On Mon, Mar 2, 2009 at 6:21 PM, Chris <[email protected] > <mailto:[email protected]>> wrote: > > var companiers_that_use_supplier3 = session.Linq<Company>().Where > (c=>c.Suppliers.Contains(s)); > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
