コード例 #1
0
 public List <Folder> GetAllFoldersByAccount(int id)
 {
     using (IMailAccountDao dao = this.getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetAllFoldersByAccount(id));
     }
 }
コード例 #2
0
 public IList <MailUser> GetUserByServerAndUsername(decimal idServer, string userName)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetUserByServerAndUsername(idServer, userName));
     }
 }
コード例 #3
0
 public IList <MailUser> GetUsersByMails(IList <String> mails)
 {
     using (IMailAccountDao dao = this.getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetUsersByMails(mails));
     }
 }
コード例 #4
0
 public void Insert(MailUser user)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         dao.Insert(user);
     }
 }
コード例 #5
0
 public void Update(MailUser user)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         dao.Update(user);
     }
 }
コード例 #6
0
 public ActiveUp.Net.Mail.DeltaExt.MailUser GetById(decimal id)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetById(id));
     }
 }
コード例 #7
0
 public MailUser GetManagedUserByAccount(string account)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetManagedUserByAccount(account));
     }
 }
コード例 #8
0
 public IList <MailUser> GetAllManaged()
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return((IList <ActiveUp.Net.Mail.DeltaExt.MailUser>)dao.GetAllManaged());
     }
 }
コード例 #9
0
 public MailUser GetUserByUserId(decimal userId)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetById(userId));
     }
 }
コード例 #10
0
 public IList <MailUser> GetAllManagedUsers()
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return((IList <MailUser>)dao.GetAllManaged());
     }
 }