예제 #1
0
        protected override bool OnBeforeDelete(DeleteEventArgs arg)
        {
            var billNo = arg.GetValue("BillNo");

            arg.db.Delete("mms_sendDetail").Where("BillNo", billNo).Execute();
            arg.db.Delete("mms_sendBatches").Where("BillNo", billNo).Execute();
            return(base.OnBeforeDelete(arg));
        }
예제 #2
0
        protected override bool OnBeforeDelete(DeleteEventArgs arg)
        {
            var billNo = arg.GetValue("BillNo");

            arg.db.Delete("mms_rentOutDetail").Where("BillNo", billNo).Execute();
            arg.db.Delete("mms_rentOutRepaire").Where("BillNo", billNo).Execute();
            arg.db.Delete("mms_rentOutReparation").Where("BillNo", billNo).Execute();
            return(base.OnBeforeDelete(arg));
        }
예제 #3
0
 protected override bool OnBeforeDelete(DeleteEventArgs arg)
 {
     arg.db.Delete("mms_repairDetail").Where("BillNo", arg.GetValue("BillNo")).Execute();
     return(base.OnBeforeDelete(arg));
 }
예제 #4
0
 protected override bool OnBeforeDelete(DeleteEventArgs arg)
 {
     arg.db.Delete("trade_scheduler").Where("Jobno", arg.GetValue("Jobno")).Execute();
     return(base.OnBeforeDelete(arg));
 }