Esempio n. 1
0
 public void Iniciar(Oracle ora, Comun com, Crm crm)
 {
     try
     {
         OracleGlobal = ora;
         ComunGlobal  = com;
         CrmGlobal    = crm;
     }
     catch (Exception e)
     {
         ComunGlobal.LogText("ERROR en Lanzador de PUBLICACIONES ::: " + e.ToString());
         if (OracleGlobal != null && OracleGlobal.OraConnParaLog.State == ConnectionState.Open)
         {
             OracleGlobal.OraConnParaLog.Dispose();
         }
     }
 }
Esempio n. 2
0
 public void MostrarEstadisticas(string msj)
 {
     Comun.LogText("ESTADISTICAS " + msj + ": \n #CREADAS: " + Creados + "\n\t #ACTUALIZADAS: " + Actualizados + "\n\t #ELIMINADAS: " + Eliminados + "\n\t #IGUALES: " + Iguales + "\n\t #ASOCIADOS: " + Associate + "\n\t #OTROS: " + Otros);
     Creados = Actualizados = Eliminados = Iguales = Associate = Otros = 0;
 }