コード例 #1
0
        private bool CustomDelete(T_LeaveProfileReason t_leaveprofilereason, out bool customdelete_hasissues, string command = "")
        {
            var result = false;

            customdelete_hasissues = false;
            return(result);
        }
コード例 #2
0
        private bool CustomSaveOnImport(T_LeaveProfileReason t_leaveprofilereason, out string customerror, int i)
        {
            var result = false;

            customerror = "";
            return(result);
        }
コード例 #3
0
        public string CheckBeforeSave(T_LeaveProfileReason t_leaveprofilereason, string command = "")
        {
            var AlertMsg = "";

            // Write your logic here

            //Make sure to assign AlertMsg with proper message
            //AlertMsg = "Validation Alert - Before Save !! Information not saved.";
            //ModelState.AddModelError("CustomError", AlertMsg);
            //ViewBag.ApplicationError = AlertMsg;
            return(AlertMsg);
        }
コード例 #4
0
        public bool CheckBeforeDelete(T_LeaveProfileReason t_leaveprofilereason)
        {
            var result = true;

            // Write your logic here

            if (!result)
            {
                var AlertMsg = "Validation Alert - Before Delete !! Information not deleted.";
                ModelState.AddModelError("CustomError", AlertMsg);
                ViewBag.ApplicationError = AlertMsg;
            }
            return(result);
        }
コード例 #5
0
 public void AfterSave(T_LeaveProfileReason t_leaveprofilereason)
 {
     // Write your logic here
 }
コード例 #6
0
 public void OnSaving(T_LeaveProfileReason t_leaveprofilereason, ApplicationContext db)
 {
     // Write your logic here
 }
コード例 #7
0
 public void OnDeleting(T_LeaveProfileReason t_leaveprofilereason)
 {
     // Write your logic here
 }
コード例 #8
0
 private RedirectToRouteResult CustomRedirectUrl(T_LeaveProfileReason t_leaveprofilereason, string action, string command = "")
 {
     // Sample Custom implemention below
     // return RedirectToAction("Index", "T_LeaveProfileReason");
     return(null);
 }
コード例 #9
0
 private void CustomLoadViewDataListAfterEdit(T_LeaveProfileReason t_leaveprofilereason)
 {
 }