Пример #1
0
 public static void StartWorkinigWithAppointment(int apptid, string config_path)
 {
     if (!string.IsNullOrEmpty(config_path))
     {
         RiskApps3.Utilities.Configurator.configFilePath = config_path;
     }
     //RiskApps3.Utilities.Logger.Instance.SetFilePath(Path.Combine(appRoot, "log.txt"));
     Utilities.ParameterCollection pc = new RiskApps3.Utilities.ParameterCollection();
     pc.Add("apptID", apptid);
     object returnCode = BCDB2.Instance.ExecuteSpWithRetValAndParams("sp_3_Start_Working_With_Appt", SqlDbType.Int, pc);
     //Logger.Instance.WriteToLog("NEW: Started working with appointment!!  Appt id = " + apptid + ", return value from new SP = " + (int)returnCode);
 }
Пример #2
0
 public static void StartWorkinigWithAppointment(int apptid, string config_path)
 {
     if (!string.IsNullOrEmpty(config_path))
     {
         RiskApps3.Utilities.Configurator.configFilePath = config_path;
     }
     //RiskApps3.Utilities.Logger.Instance.SetFilePath(Path.Combine(appRoot, "log.txt"));
     Utilities.ParameterCollection pc = new RiskApps3.Utilities.ParameterCollection();
     pc.Add("apptID", apptid);
     object returnCode = BCDB2.Instance.ExecuteSpWithRetValAndParams("sp_3_Start_Working_With_Appt", SqlDbType.Int, pc);
     //Logger.Instance.WriteToLog("NEW: Started working with appointment!!  Appt id = " + apptid + ", return value from new SP = " + (int)returnCode);
 }
Пример #3
0
 public static void stopWorkingWithAppointment(int apptid)
 {
     Utilities.ParameterCollection pc = new RiskApps3.Utilities.ParameterCollection();
     pc.Add("apptID", apptid);
     object returnCode = BCDB2.Instance.ExecuteSpWithRetValAndParams("sp_markRiskDataCompleted", SqlDbType.Int, pc);
 }
Пример #4
0
 public static void stopWorkingWithAppointment(int apptid)
 {
     Utilities.ParameterCollection pc = new RiskApps3.Utilities.ParameterCollection();
     pc.Add("apptID", apptid);
     object returnCode = BCDB2.Instance.ExecuteSpWithRetValAndParams("sp_markRiskDataCompleted", SqlDbType.Int, pc);
 }