Exemplo n.º 1
0
        /*
         * public IList<T> FindAll<T, S>(System.Linq.Expressions.Expression<Func<T, bool>> conditions, System.Linq.Expressions.Expression<Func<T, S>> orderBy, int pageSize, int pageIndex, out long total) where T : BaseModel
         * {
         *  using (HContext dbContext = new HContext())
         *  {
         *      return dbContext.FindAll<T, S>(conditions, orderBy, pageSize, pageIndex, out total);
         *  }
         * }*/

        public void InsertOperateLog(OperateLogModel log)
        {
            log.AddTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
            _GenericDAL.InsertLog(log);
        }