Пример #1
0
        // <summary>
        /// 删除符合条件的SysLogModel实体
        /// </summary>
        /// <param name="predicate"></param>
        /// <returns></returns>
        public bool DeleteMulitiSysLogByCondition(Expression <Func <SysLogModel, bool> > predicate)
        {
            var result = false;

            try
            {
                result = dal_SysLog.DeleteByCondition(predicate) > 0 ? true : false;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(result);
        }