public System.Data.DataTable Listar(string condicion, params object[] args) { try { DCronograma_ = new Datos.Cronograma(); return(DCronograma_.Listar(condicion, args)); } catch (System.Exception ex) { throw new System.Exception("Cronograma: Error al listar. \n" + ex.Message); } }
public void Eliminar( System.Int32 id ) { try { DCronograma_ = new Datos.Cronograma (); DCronograma_.id = id; DCronograma_.Eliminar (); } catch ( System.Exception ex ) { throw new System.Exception ( "Cronograma: Error al eliminar. \n" + ex.Message ); } }
public void Eliminar(System.Int32 id) { try { DCronograma_ = new Datos.Cronograma(); DCronograma_.id = id; DCronograma_.Eliminar(); } catch (System.Exception ex) { throw new System.Exception("Cronograma: Error al eliminar. \n" + ex.Message); } }
public System.Data.DataRow Obtener(System.Int32 id) { try { DCronograma_ = new Datos.Cronograma(); DCronograma_.id = id; return(DCronograma_.Obtener()); } catch (System.Exception ex) { throw new System.Exception("Cronograma: Error al obtener datos. \n" + ex.Message); } }
public void Actualizar(System.Int32 id, System.String descripcion, System.DateTime fechaIni, System.DateTime fechaFin) { try { DCronograma_ = new Datos.Cronograma(); DCronograma_.id = id; DCronograma_.descripcion = descripcion; DCronograma_.fechaIni = fechaIni; DCronograma_.fechaFin = fechaFin; ; DCronograma_.Actualizar(); } catch (System.Exception ex) { throw new System.Exception("Cronograma: Error al actualizar. \n" + ex.Message); } }
public void Actualizar( System.Int32 id, System.String descripcion, System.DateTime fechaIni, System.DateTime fechaFin ) { try { DCronograma_ = new Datos.Cronograma (); DCronograma_.id = id; DCronograma_.descripcion = descripcion; DCronograma_.fechaIni = fechaIni; DCronograma_.fechaFin = fechaFin; ; DCronograma_.Actualizar (); } catch ( System.Exception ex ) { throw new System.Exception ( "Cronograma: Error al actualizar. \n" + ex.Message ); } }
public System.Int32 Insertar(System.String descripcion, System.DateTime fechaIni, System.DateTime fechaFin) { try { DCronograma_ = new Datos.Cronograma(); DCronograma_.descripcion = descripcion; DCronograma_.fechaIni = fechaIni; DCronograma_.fechaFin = fechaFin; int i = DCronograma_.Insertar(); if (i < 0) { throw new System.Exception("Cronograma: Error al insertar. \n"); } return(i); } catch (System.Exception ex) { throw new System.Exception("Cronograma: Error al insertar. \n" + ex.Message); } }
public System.Data.DataTable Listar() { DCronograma_ = new Datos.Cronograma(); return(DCronograma_.Listar()); }
public System.Int32 Insertar( System.String descripcion, System.DateTime fechaIni, System.DateTime fechaFin ) { try { DCronograma_ = new Datos.Cronograma (); DCronograma_.descripcion = descripcion; DCronograma_.fechaIni = fechaIni; DCronograma_.fechaFin = fechaFin; int i = DCronograma_.Insertar (); if ( i < 0 ) throw new System.Exception ( "Cronograma: Error al insertar. \n" ); return i; } catch ( System.Exception ex ) { throw new System.Exception ( "Cronograma: Error al insertar. \n" + ex.Message ); } }
public System.Data.DataRow Obtener( System.Int32 id ) { try { DCronograma_ = new Datos.Cronograma (); DCronograma_.id = id; return DCronograma_.Obtener (); } catch ( System.Exception ex ) { throw new System.Exception ( "Cronograma: Error al obtener datos. \n" + ex.Message ); } }
public System.Data.DataTable Listar( string condicion, params object[] args ) { try { DCronograma_ = new Datos.Cronograma (); return DCronograma_.Listar ( condicion, args ); } catch ( System.Exception ex ) { throw new System.Exception ( "Cronograma: Error al listar. \n" + ex.Message ); } }
public System.Data.DataTable Listar() { DCronograma_ = new Datos.Cronograma (); return DCronograma_.Listar (); }