Hi all,

I have to list distinct Colors from a list of Product avoiding "SELECT
N+1" problem.

I've tried something like this without results:

 IQueryable<Product> productList = products.AsQueryable();

 var list = productList.Fetch(c => c.Colors);

("products" is an IEnumerable<Product> coming as a method parameter)

Can you help me?

Daniele

-- 
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.

Reply via email to