/// <summary> /// 获取所有数据 /// </summary> /// <param name="request"></param> /// <param name="queryEr"></param> /// <param name="sql"></param> /// <returns></returns> public IList GetAllData(MVCRequest request, IDictionary <string, object> args, string sql) { ExecSqlQuery queryEr = MVCNHibernateHelp.BuildSqlQuery(args, sql); SqlPart sqlPart = MVCNHibernateHelp.RefactorToSqlPart(request, sql); return(GetData(queryEr, sqlPart)); }
/// <summary> /// 获取所有数据 /// </summary> /// <param name="queryEr"></param> /// <param name="sql"></param> /// <returns></returns> public IList GetAllData(object args, string sql) { ExecSqlQuery queryEr = MVCNHibernateHelp.BuildSqlQuery(args, sql); SqlPart sqlPart = MVCNHibernateHelp.RefactorToSqlPart(sql); return(GetData(queryEr, sqlPart)); }