예제 #1
0
        /// <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));
        }
예제 #2
0
        /// <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));
        }