Beispiel #1
0
 public string GetEmployeeFlags(string emp_card_no)
 {
     using (ModuleProc PROC = new ModuleProc(this.DYN_MODULE_NAME, "GetEmployeeFlags"))
     {
         Log.Info(PROC, "Employee Flags started");
         try
         {
             using (ExCommsSQLDataAccess DataContext = this.GetDataContext())
             {
                 return(DataContext.rsp_GetEmployeeFlags(emp_card_no).SingleOrDefault <ExCommsSQLDataAccess.rsp_GetEmployeeFlagsResult>().EmployeeFlags);
             }
         }
         catch (Exception ex)
         {
             Log.Exception(ex);
             return("");
         }
     }
 }