protected void transactionButton_Click(object sender, EventArgs e)
 {
     using (TransactionScope ts = new TransactionScope())
     {
         StationeryEntities ctx = new StationeryEntities();
         ApprovalAudit audit = (from s in ctx.ApprovalAudits
                         select s).FirstOrDefault();
         ctx.ApprovalAudits.Attach(audit);
         ctx.ApprovalAudits.DeleteObject(audit);
         ctx.SaveChanges();
         ts.Complete();
     }
 }
 protected DALLogic()
 {
     this.context = new StationeryEntities();
 }
 protected BusinessLogic()
 {
     this.context = new StationeryEntities();
 }