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; } }
partial void DeleteESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);
partial void UpdateESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);
partial void InsertESHOP_MAIL_RECIVE(ESHOP_MAIL_RECIVE instance);