a single System.Int32 has been returned, it has the first Agregate function value. (acording to the NHibernate.Impl.EnumerableImpl object)
however this is also incoreect as it should be returning a float or Decimal type. as the sum is summing a money SQL type
the statement that hits the MSSQL server is
Code:
exec sp_executesql N'select sum(Amount) as x0_0_, count(*) as x1_0_ from EFTTransaction transactio0_'
When i run this in Query analyser it returns corectly.
1325872.5000 22769
thanks for your help