This question is locked. New answers and comments are not allowed.
Hi,
I use PostgreSQL 9.1 + VisualStudio 2010 + OAORM.
Version of OAORM is : 2011.2.713
This code work in this version
Today I upgrade to 2011.3.1116 and above code don't work any more. The error is : System.InvalidOperationException
and something about : invalid node in order ....
Now I revert to previus version and code work again.
Thanks
I use PostgreSQL 9.1 + VisualStudio 2010 + OAORM.
Version of OAORM is : 2011.2.713
This code work in this version
private
List<Artikal> _getTopArtikals(
int
count = 10)
{
// Order artkals by
// the artikals with the highest count
var topArtikal = storeDB.Artikals
.OrderByDescending(a => a.OrderDetails.Count())
//.ThenByDescending(z => z.Zalihes.Count())
.Where(w => w.Webaccessmp ??
false
)
.Take(count)
.ToList();
// Return articals
return
topArtikal;
}
Today I upgrade to 2011.3.1116 and above code don't work any more. The error is : System.InvalidOperationException
and something about : invalid node in order ....
Now I revert to previus version and code work again.
Thanks