select name, (select count(*) from products where products.category_Id=categories.Id) as productCount from categories
starting with: session.CreateCriteria<Category>() but whats next? -- 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.
