예제 #1
0
        public List <LogInService> SearchShareLogUnRead(int Id)
        {
            List <LogInService> l = new List <LogInService>();

            List <LogMessage> lm = lop.SendSharedLogUnRead(Id);

            foreach (LogMessage lo in lm)
            {
                LogInService ll = new LogInService();
                ll.LogId       = (long)lo.LogId;
                ll.ShareUserId = (long)lo.ShareUserId;
                ll.TimeStamp   = (long)lo.TimeStamp;
                ll.WriteUserId = (long)lo.UserId;
                l.Add(ll);
            }

            return(l);
        }
예제 #2
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return true;
 }
예제 #3
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return(true);
 }
예제 #4
0
        public List<LogInService> SearchShareLogUnRead(int Id)
        {
            List<LogInService> l = new List<LogInService>();

            List<LogMessage> lm = lop.SendSharedLogUnRead(Id);

            foreach (LogMessage lo in lm)
            {
                LogInService ll = new LogInService();
                ll.LogId = (long)lo.LogId;
                ll.ShareUserId = (long)lo.ShareUserId;
                ll.TimeStamp = (long)lo.TimeStamp;
                ll.WriteUserId = (long)lo.UserId;
                l.Add(ll);
            }

            return l;
        }