Esempio n. 1
0
        /// <summary>
        /// 查询数据信息
        /// </summary>
        /// <param name="title">标题</param>
        /// <param name="qtype">题型</param>
        /// <param name="ispic">是否图片题</param>
        /// <param name="isanimal">是否动画题</param>
        /// <param name="isorder">true:顺序  false:随机</param>
        /// <param name="kemu">科目</param>
        /// <param name="pm">分页实体</param>
        /// <returns></returns>
        public OperateResultModel QueryBanks(string title, string qtype, bool?ispic, bool?isanimal, bool isorder, string kemu, PaginModel pm)
        {
            TblBankDal dal = new TblBankDal();

            return(dal.Query(title, qtype, ispic, isanimal, isorder, kemu, pm));
        }
Esempio n. 2
0
        /// <summary>
        /// 查询实体
        /// </summary>
        /// <param name="id">题目ID</param>
        /// <returns></returns>
        public tbl_bank QueryBank(int id)
        {
            TblBankDal dal = new TblBankDal();

            return(dal.Query(id));
        }