コード例 #1
0
        /// <summary>
        /// 查询特殊表或者视图
        /// </summary>
        /// <param name="table"></param>
        /// <param name="vParams"></param>
        /// <param name="lstScope"></param>
        /// <param name="objPage"></param>
        /// <returns></returns>
        public DataSet SelectTable(BQLOtherTableHandle table, ScopeList lstScope)
        {
            OnSelect(lstScope);
            BQLDataAccessBase <T> dao = new BQLDataAccessBase <T>();

            return(dao.SelectTable(table, lstScope));
        }
コード例 #2
0
        /// <summary>
        /// 直接查询数据库视图
        /// </summary>
        /// <param name="tableName">表名称</param>
        /// <param name="lstScope">条件</param>
        /// <param name="vParams">字段列表</param>
        /// <param name="lstSort">排序类型</param>
        /// <param name="lstSort">排序</param>
        /// <returns></returns>
        public DataSet SelectTable(string tableName, ScopeList lstScope)
        {
            OnSelect(lstScope);
            BQLDataAccessBase <T> dao = new BQLDataAccessBase <T>();

            return(dao.SelectTable(tableName, lstScope));
        }