I'll try it again. I have entity Invoice and entity LineItems. I need to fetch all invoices and project following properties in to DataTable: Invoice.Number, Invoice.Date, Invoice.Total and number of LineItems associated with an invoice. I do not have access to session so I am trying to use DetachedCriteria.
On Jan 16, 4:15 pm, Ayende Rahien <[email protected]> wrote: > Since I can't even understand the question, no. > > On Fri, Jan 16, 2009 at 5:13 PM, epitka <[email protected]> wrote: > > > Can somebody show me how to create a projection to a DataTable that > > would have some properties of a Parent object, count of the children > > using DetachedCriteria. Please I need this very bad. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
