I did set it to run a query and then I want to remove it and run the query again. I made a work around to fix it, made a copy of the query before setting the projections.
On Sat, Sep 4, 2010 at 5:32 AM, Diego Mijelshon <[email protected]> wrote: > How about not setting it? :-) > > Diego > > > On Thu, Sep 2, 2010 at 20:27, Craig van Nieuwkerk <[email protected]> wrote: >> >> In nHibernate 2.0.1 I could call the SetProjection method of ICriteria >> passing null as the parameter and it would clear the projections. >> Since upgrading to nHibernate 2.1 this now raises an exception. >> >> How can I clear the projections in 2.1? >> >> Craig. >> >> -- >> 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. > -- 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.
