Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/// <summary> /// ELIMINA un registro de la Entidad GestionComercial.ComprobanteEmisionDetalle /// En la BASE de DATO la Tabla : [GestionComercial.ComprobanteEmisionDetalle] /// <summary> /// <returns>bool</returns> public bool Delete(int prm_codDocumReg) { int codigoRetorno = -1; try { using (_GestionComercialDataContext SQLDC = new _GestionComercialDataContext(conexion)) { codigoRetorno = SQLDC.omgc_D_DocumRegDetalle(prm_codDocumReg); } } catch (Exception ex) { throw ex; } return(codigoRetorno == 0 ? true : false); }