Exemplo n.º 1
0
        /// <summary>
        /// 通过特定的条件查询出SysLogModel元素集合
        /// </summary>
        /// <param name="predicate"></param>
        /// <returns></returns>
        public List <SysLogModel> GetSysLogElementsByCondition(Expression <Func <SysLogModel, bool> > predicate)
        {
            List <SysLogModel> result = null;

            try
            {
                result = dal_SysLog.GetElementsByCondition(predicate);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(result);
        }