示例#1
0
 public DataAccessService()
 {
     context = new EmailsDataContext();
 }
示例#2
0
 public DataAccessService()
 {
     emailsDataContext       = new EmailsDataContext();
     senderEmailsDataContext = new SenderEmailsDataContext();
     smtpServersDataContext  = new SmtpServersDataContext();
 }
示例#3
0
 public EmailsRepository(EmailsDataContext db)
 {
     this.db = db;
 }