日期:2014-05-17  浏览次数:20414 次

nhibernate 调用带返回参数的存储过程
本帖最后由 lw2016 于 2013-01-28 17:55:29 编辑
            try
               {
                   DOHM_BureauInfos = session.GetNamedQuery("GetDOHM_BureauInfos").SetInt32("PageSizeint",PageSizeint).SetInt32("CurrentPage",CurrentPage)
                   .SetString("Columns",Columns)
                   .SetString("TableName",TableName)
                   .SetString("Condition",Condition)
                   .SetString("ascColumn",ascColumn)
                   .SetInt32("BitOrderbyType",BitOrderbyType)
                   .SetString("Pkcolumn",Pkcolumn)
                   .SetInt32("TotalCount",TotalCount).List<DOHM_BureauInfo>();
                   //PageSizeint,:CurrentPage,:Columns,:TableName,:Condition,:ascColumn,:BitOrderbyType,:Pkcolumn,:TotalCount
                   return DOHM_BureauInfos;
               }
大侠们看看怎么弄   我这样钓不到 TotalCount



------解决方案--------------------
该回复于2013-06-20 09:54:43被管理员删除

------解决方案--------------------
我不会  来领分的