InsertEmailContext() public method

public InsertEmailContext ( sp_VendEmail_DM InputEmail ) : int
InputEmail VolTeer.DomainModels.VT.Vend.sp_VendEmail_DM
return int
示例#1
0
        public void TestVendEmailInsert()
        {
            //Test Our Read
            sp_VendEmail_DM data = new sp_VendEmail_DM();
            string EmailAddr = "*****@*****.**";

            data.EmailAddr = EmailAddr;
            data.ActiveFlg = true;
            sp_VendEmail_BLL vend = new sp_VendEmail_BLL();
            vend.InsertEmailContext(data);
            Assert.AreEqual(EmailAddr, data.EmailAddr, "EmailAddr Not Set As Expected");
        }