Cheers everyone, i've currently switched my Take and OrderBy statements as i agree it's logical to call them the other way around. Although i still think you should be able to take a subset and then order by that. So i guess a bug does exist.
On Dec 15, 9:23 am, nfplee <[email protected]> wrote: > Hi, i have the following code: > > var test = session.Query<Article>().OrderBy(a => > a.DateCreated).ToList(); > var test2 = session.Query<Article>().Take(4).OrderBy(a => > a.DateCreated).ToList(); > > The first line executes successfully but the second line throws the > error: > > "Specified method is not supported.". > > This used to work fine in the old LINQ provider (on top of v 2.12). -- 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.
