public bool Add_email(string email)
 {
     if (Checkemail(email))
     {
         return false;
     }
     else
     {
         ESHOP_MAIL_RECIVE mail = new ESHOP_MAIL_RECIVE();
         mail.MAIL_NAME = email;
         mail.MAIL_ACTIVE = 1;
         db.ESHOP_MAIL_RECIVEs.InsertOnSubmit(mail);
         db.SubmitChanges();
         return true;
     }
 }
예제 #2
0
 partial void DeleteESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);
예제 #3
0
 partial void UpdateESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);
예제 #4
0
 partial void InsertESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);