Esempio n. 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);
        }
Esempio n. 2
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return true;
 }
Esempio n. 3
0
 public bool SaveInLogListInService(LogInService log)
 {
     lop.InsertIntoEntity(log);
     return(true);
 }
Esempio n. 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;
        }