Beispiel #1
0
        /// <summary>
        /// 通用查询
        /// </summary>
        /// <param name="sql">查询Sql</param>
        /// <param name="count">查询数量</param>
        /// <param name="orderBy">排序条件</param>
        /// <returns></returns>
        public DataTable GetSqlTable(string sql)
        {
            IGeneralSql dal = baseDal as IGeneralSql;

            return(dal.SqlTable(sql));
        }
Beispiel #2
0
 /// <summary>
 /// 通用查询
 /// </summary>
 /// <param name="sql">查询Sql</param>
 /// <param name="count">查询数量</param>
 /// <param name="orderBy">排序条件</param>
 /// <returns></returns>
 public DataTable GetSqlTable(string sql)
 {
     return(dal.SqlTable(sql));
 }