This query will return a list of Business objects, but with only the specified fields instantiated. Note that this is a powerful technique, as the presentation layer may use ordinary business classes instead of data transfer objects, without having to know the details of the querying techniques being used Vikram Make a loan, Make a difference - Kiva.org
On Sun, Mar 13, 2011 at 12:28 PM, Fabio Maulo <[email protected]> wrote: > On Sun, Mar 13, 2011 at 4:08 PM, Vikram Nayak <[email protected]>wrote: > >> Yes, but instead of returning a object[] or a CustomDTO it would be >> nice to be able to return the root entity initialized with only the >> fields specified in the query. >> > > eh? > > -- > Fabio Maulo > > > -- > 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. > -- 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.
