Esempio n. 1
0
 public static void AddUpdateAppointmentStatus(AspxCommonInfo aspxCommonObj, AppointmentSatusInfoBasic statusObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("AppointmentStatusID", statusObj.AppointmentStatusID));
         parameter.Add(new KeyValuePair <string, object>("AppointmetStatusAliasName", statusObj.AppointmentStatusAliasName));
         parameter.Add(new KeyValuePair <string, object>("IsActive", statusObj.IsActive));
         OracleHandler sqlh = new OracleHandler();
         sqlh.ExecuteNonQuery("usp_Aspx_AppointmentStatusAddUpdate", parameter);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public static void AddUpdateAppointmentStatus(AspxCommonInfo aspxCommonObj, AppointmentSatusInfoBasic appointmentStatusObj)
 {
     AspxServiceProvider.AddUpdateAppointmentStatus(aspxCommonObj, appointmentStatusObj);
 }
 public static void AddUpdateAppointmentStatus(AspxCommonInfo aspxCommonObj, AppointmentSatusInfoBasic appointmentStatusObj)
 {
     AspxServiceProvider.AddUpdateAppointmentStatus(aspxCommonObj, appointmentStatusObj);
 }     
       public static void AddUpdateAppointmentStatus(AspxCommonInfo aspxCommonObj, AppointmentSatusInfoBasic statusObj)
       {
           try
           {
               List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
               parameter.Add(new KeyValuePair<string, object>("@AppointmentStatusID", statusObj.AppointmentStatusID));
               parameter.Add(new KeyValuePair<string, object>("@AppointmetStatusAliasName", statusObj.AppointmentStatusAliasName));
               parameter.Add(new KeyValuePair<string, object>("@IsActive", statusObj.IsActive));
               SQLHandler sqlh = new SQLHandler();
               sqlh.ExecuteNonQuery("[dbo].[usp_Aspx_AppointmentStatusAddUpdate]", parameter);
           }
           catch (Exception ex)
           {

               throw ex;
           }
       }