Example #1
0
        public new void edit_by_id()
        {
            this.connect();

            Dictionary <string, string> data = new Dictionary <string, string>();
            Dictionary <string, string> id   = new Dictionary <string, string>();

            Utilisateur utilisateur = new Utilisateur(this.IdUser, this.Login, this.Password, "TechnicienDRE", this.Nom, this.Prenom, this.Email, this.Phone);



            data[IddreColmn] = "" + this.dre.NumeroDRE;

            id[IdUserColmn] = "" + this.IdUser;

            utilisateur.edit_by_id();
            this.update(data, id);
            this.disconnect();
        }
        public new void edit_by_id()
        {
            this.connect();

            Dictionary <string, string> data = new Dictionary <string, string>();
            Dictionary <string, string> id   = new Dictionary <string, string>();

            Utilisateur utilisateur = new Utilisateur(this.IdUser, this.Login, this.Password, this.EtatUser, this.Nom, this.Prenom, this.Email, this.Phone);



            data[IdDirectionColmn] = "" + this.direction.IdDirection;

            id[IdUserColmn] = "" + this.IdUser;

            utilisateur.edit_by_id();
            this.update(data, id);
            this.disconnect();
        }
        public new void edit_by_id()
        {
            this.connect();

            Dictionary <string, string> data = new Dictionary <string, string>();
            Dictionary <string, string> id   = new Dictionary <string, string>();

            Utilisateur utilisateur = new Utilisateur(this.IdUser, this.Login, this.Password, "	TechnicienHelpdesk", this.Nom, this.Prenom, this.Email, this.Phone);



            data[IdDirectionColmn] = "" + this.direction.IdDirection;
            data[IdCategorieColmn] = "" + this.categorie.IdCategorie;
            data[IdexpColmn]       = "'" + this.experience + "'";

            id[IdUserColmn] = "" + this.IdUser;

            utilisateur.edit_by_id();
            this.update(data, id);
            this.disconnect();
        }