Пример #1
0
 public void Delete(string tren, string linea)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetDeleteByTrenLineaStatement(tren, linea));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public override bool Create(EntidadBase entidad)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetCreateStatement(entidad));
         return(true);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #3
0
 public bool DeleteEstacionesByLinea(string linea)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetEstacionesDeleteByLineaStatement(linea));
         return(true);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #4
0
 public bool UpdateEstacionByLinea(string estacion, string linea)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetCreateEstacionPorLineaStatement(estacion, linea));
         return(true);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #5
0
 public override bool Delete(EntidadBase entidad)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetDeleteStatement(entidad));
         return(true);
     }
     catch (Exception ex)
     {
         AdministrarExcepcion(ex);
         throw ex;
     }
 }
Пример #6
0
 public bool CreateNoFrecuente(EntidadBase entidad)
 {
     try
     {
         SqlDao.ExecuteQueryProcedureBoolean(_mapper.GetCreateStatementNoFrecuente(entidad));
         return(true);
     }
     catch (Exception ex)
     {
         AdministrarExcepcion(ex);
         throw ex;
     }
 }