Esempio n. 1
0
        public bool Update(UAbonent ent)
        {
            bool        success = true;
            UAbonentDAO entDAO  = new UAbonentDAO();

            sc             = new SqlCommand("UpdateUabonent");
            sc.CommandType = CommandType.StoredProcedure;
            sc.Parameters.Add("@ID", ent.ID);
            addParameters(ent);
            success = entDAO.updateEntity(sc);
            return(success);
        }