public System.Data.DataTable ListarDeCronograma(int idCronograma) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); return(DCronogrmaTurno_.ListarDeCronograma(idCronograma)); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al listar. \n" + ex.Message); } }
public System.Data.DataTable ListarCronogramaTurno(string condicion, params object[] args) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); return(DCronogrmaTurno_.Listar(condicion, args)); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al listar. \n" + ex.Message); } }
public System.Data.DataRow ObtenerCronogramaTurno(System.Int32 id) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); DCronogrmaTurno_.id = id; return(DCronogrmaTurno_.Obtener()); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al obtener datos. \n" + ex.Message); } }
public void EliminarCronogramaTurno(System.Int32 id) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); DCronogrmaTurno_.id = id; DCronogrmaTurno_.Eliminar(); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al eliminar. \n" + ex.Message); } }
public void EliminarCronogramaTurno( System.Int32 id ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); DCronogrmaTurno_.id = id; DCronogrmaTurno_.Eliminar (); } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al eliminar. \n" + ex.Message ); } }
public void ActualizarCronogramaTurno(System.Int32 id, System.DateTime fecha, System.Int32 activo, System.Int32 idCronograma, System.Int32 idTurno) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); DCronogrmaTurno_.id = id; DCronogrmaTurno_.fecha = fecha; DCronogrmaTurno_.activo = activo; DCronogrmaTurno_.idCronograma = idCronograma; DCronogrmaTurno_.idTurno = idTurno; ; DCronogrmaTurno_.Actualizar(); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al actualizar. \n" + ex.Message); } }
public void ActualizarCronogramaTurno( System.Int32 id, System.DateTime fecha, System.Int32 activo, System.Int32 idCronograma, System.Int32 idTurno ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); DCronogrmaTurno_.id = id; DCronogrmaTurno_.fecha = fecha; DCronogrmaTurno_.activo = activo; DCronogrmaTurno_.idCronograma = idCronograma; DCronogrmaTurno_.idTurno = idTurno; ; DCronogrmaTurno_.Actualizar (); } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al actualizar. \n" + ex.Message ); } }
public System.Int32 InsertarCronogramaTurno(System.DateTime fecha, System.Int32 activo, System.Int32 idCronograma, System.Int32 idTurno) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno(); DCronogrmaTurno_.fecha = fecha; DCronogrmaTurno_.activo = activo; DCronogrmaTurno_.idCronograma = idCronograma; DCronogrmaTurno_.idTurno = idTurno; int i = DCronogrmaTurno_.Insertar(); if (i < 0) { throw new System.Exception("CronogramaTurno: Error al insertar. \n"); } return(i); } catch (System.Exception ex) { throw new System.Exception("CronogramaTurno: Error al insertar. \n" + ex.Message); } }
public System.Data.DataTable ListarCronogramaTurno() { DCronogrmaTurno_ = new Datos.CronogramaTurno(); return(DCronogrmaTurno_.Listar()); }
public System.Data.DataRow ObtenerCronogramaTurno( System.Int32 id ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); DCronogrmaTurno_.id = id; return DCronogrmaTurno_.Obtener (); } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al obtener datos. \n" + ex.Message ); } }
public System.Data.DataTable ListarDeCronograma( int idCronograma ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); return DCronogrmaTurno_.ListarDeCronograma ( idCronograma ); } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al listar. \n" + ex.Message ); } }
public System.Data.DataTable ListarCronogramaTurno( string condicion, params object[] args ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); return DCronogrmaTurno_.Listar ( condicion, args ); } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al listar. \n" + ex.Message ); } }
public System.Data.DataTable ListarCronogramaTurno() { DCronogrmaTurno_ = new Datos.CronogramaTurno (); return DCronogrmaTurno_.Listar (); }
public System.Int32 InsertarCronogramaTurno( System.DateTime fecha, System.Int32 activo, System.Int32 idCronograma, System.Int32 idTurno ) { try { DCronogrmaTurno_ = new Datos.CronogramaTurno (); DCronogrmaTurno_.fecha = fecha; DCronogrmaTurno_.activo = activo; DCronogrmaTurno_.idCronograma = idCronograma; DCronogrmaTurno_.idTurno = idTurno; int i = DCronogrmaTurno_.Insertar (); if ( i < 0 ) throw new System.Exception ( "CronogramaTurno: Error al insertar. \n" ); return i; } catch ( System.Exception ex ) { throw new System.Exception ( "CronogramaTurno: Error al insertar. \n" + ex.Message ); } }