var result = session.Query<Employee>() .GroupBy(x => x.Name) .Select(s => new { sal = s.Sum(x =>x.Salary) } );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)