Ejemplo n.º 1
0
 protected void btnDelete_Click(object sender, EventArgs e)
 {
     if (me != null)
     {
         me.Delete();
     }
     Session["CRUDtestME"] = null;
     me = new MockEntityDAO().Get(me.Id);
 }
Ejemplo n.º 2
0
 protected void Next(object sender, EventArgs e)
 {
     foreach (string s in me.StringList) //lazyload without getting the sessionfirst
     {
         Checker.AssertEqual(s.Contains("testString"), true);
     }
     SuccessMessage1.Show();
     me.Delete();
     btnNext.Visible = false;
     bf.CurrentConversation.FinishSpan();
 }