コード例 #1
0
ファイル: LegacyCoreAPI.cs プロジェクト: mahitosh/HRA4
 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
ファイル: LegacyCoreAPI.cs プロジェクト: mahitosh/HRA4
 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);
 }