Same error with .FetchMany as well. Is there a sample available somewhere?
For what it's worth, the LINQ tests in NH source base run just fine... I'm wondering if it has to do with ISet (which tests use) vs IList (which I use). Miha On Mar 28, 10:36 pm, Diego Mijelshon <[email protected]> wrote: > Not sure if that's what causes your error, but if Parts is a collection, you > should use FetchMany > > Diego > > On Sun, Mar 28, 2010 at 16:49, Miha V <[email protected]> wrote: > > Hi guys! > > > When using trunk build of NHibernate (built from sources), I get the > > following exception when using > > > var docs = session.Query<Document>().Fetch(p => Parts).ToList(); > > > Unhandled Exception: System.NotSupportedException: Specified method is > > not supported. > > at > -- 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.
