示例#1
0
        public void update(pays unpays)
        {
            string PaysUpdate;

            PaysUpdate = ("pays set id ='" + unpays.Id + "' , nom = '" + unpays.Nom.Replace("'", "''") + "'");
            _dbal.Update(PaysUpdate);
        }
示例#2
0
        public void update(fromage unfromage)
        {
            string FromageUpdate;

            FromageUpdate = ("pays set id ='" + unfromage.Id + "', pays_origine = '" + unfromage.Pays_origine.Replace("'", "''") + "' , nom = '" + unfromage.Nom.Replace("'", "''") + "', creation = '" + unfromage.Creation.Replace("'", "''") + "', image = '" + unfromage.Image + "'");
            _dbal.Update(FromageUpdate);
        }