//--------------------------------------------------------------------- public int Update(TransactionVente pTransactionVente) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pTransactionVente, false); return(DataBase.UpdateID("tblTransactionVente", lsCols, lsValues, pTransactionVente.ID)); }
//--------------------------------------------------------------------- public int Update(PrescriptionLignePrescriptionMédicament pPrescriptionLignePrescriptionMédicament) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pPrescriptionLignePrescriptionMédicament, false); return(DataBase.UpdateID("tblPrescriptionLignePrescriptionMédicament", lsCols, lsValues, pPrescriptionLignePrescriptionMédicament.ID)); }
//--------------------------------------------------------------------- public int Update(Patient pPatient) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pPatient, false); return(DataBase.UpdateID("tblPatient", lsCols, lsValues, pPatient.ID)); }
//--------------------------------------------------------------------- public int Update(Pharmacien pPharmacien) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pPharmacien, false); return(DataBase.UpdateID("tblPharmacien", lsCols, lsValues, pPharmacien.ID)); }
//--------------------------------------------------------------------- public int Update(Prescription pPrescription) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pPrescription, false); return(DataBase.UpdateID("tblPrescription", lsCols, lsValues, pPrescription.ID)); }
//--------------------------------------------------------------------- public int Update(RuptureDeStock pRuptureDeStock) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pRuptureDeStock, false); return(DataBase.UpdateID("tblRuptureDeStock", lsCols, lsValues, pRuptureDeStock.ID)); }
//--------------------------------------------------------------------- public int Update(Médecin pMédecin) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pMédecin, false); return(DataBase.UpdateID("tblMédecin", lsCols, lsValues, pMédecin.ID)); }
//--------------------------------------------------------------------- public int Update(Utilisateur pUtilisateur) { string[] lsCols = null; string[] lsValues = null; this.FillArray(ref lsCols, ref lsValues, pUtilisateur, false); return(DataBase.UpdateID("tblUtilisateur", lsCols, lsValues, pUtilisateur.ID)); }