Exemplo n.º 1
0
        public static void InsertLog(string userID, string workType)
        {
            KeyWorklogEntity entity = new KeyWorklogEntity
            {
                USER_ID     = userID,
                WORK_TYPE   = workType,
                CREATE_TIME = DateTime.Now
            };
            KeyWorklogDal dal = new KeyWorklogDal();

            dal.Insert(entity);
        }
Exemplo n.º 2
0
        public static void InsertLog(KeyWorklogEntity entity)
        {
            KeyWorklogDal dal = new KeyWorklogDal();

            dal.Insert(entity);
        }