Is Linq Group By still not supported or I'm doing something wrong ?
My linq is :
var q = from p in session.QueryProduct()
group p by p.Category into g
select new { Category = g.Key, TotalValue =
g.Sum(p = p.UnitsInStock * p.Price) };
I'm using NHibernate with SQL Server 2005 in a WPF client application.
If I manually stop the SQL Server service then restart it the session
doesn't automatically reconnect.
So far this seems to work but is there a better/cleaner way ? :
try
{
using (ITransaction transaction =
Hello,
When executing the following code I only get two players for each team
and for the first team I even get two times the same player (there are
more than 2 players in each team)
INHibernateQueryableMatch queryable =
session.LinqMatch();