public bool Update(CsCalibreCompteur pDiacomp) { try { return(Entities.UpdateEntity <Galatee.Entity.Model.CALIBRECOMPTEUR>(Entities.ConvertObject <Galatee.Entity.Model.CALIBRECOMPTEUR, CsCalibreCompteur>(pDiacomp))); } catch (Exception ex) { throw ex; } }
void galatee_OkClickedBtnDiametre(object sender, EventArgs e) { try { this.btn_DiametreCompteur.IsEnabled = true; UcListeGenerique ctrs = sender as UcListeGenerique; if (ctrs.isOkClick) { CsCalibreCompteur _LeDiametre = (CsCalibreCompteur)ctrs.MyObject; this.Txt_LibelleDiametre.Text = _LeDiametre.LIBELLE; this.Txt_LibelleDiametre.Tag = _LeDiametre.PK_ID; } } catch (Exception ex) { Message.ShowError(ex.Message, Langue.lbl_Menu); } }