protected void btnAssociate_Click(object sender, EventArgs e) { Associate s = MESPageService as Associate; s.Container_Name = txtContainer.Text; s.ExecuteService(); lblCompleteMsg.Text = s.CompletionMessage; MESPageService = null; }
public void T120_Associate_LOT1() { Associate s = new Associate(); Container co = new Container(); co.ContainerName = "LOT1"; s.Container = co; AssociateDetail sd; sd = new AssociateDetail(); sd.ChildContainerName = "LOT1-1"; s.InsertDetail(sd); sd = new AssociateDetail(); sd.ChildContainerName = "LOT1-2"; s.InsertDetail(sd); Assert.IsTrue(s.ExecuteService(), s.CompletionMessage); }