예제 #1
0
        public bool UpdateAffiliate(Affiliate affiliate)
        {
            string[] attributes = { "name:string", "last_name:string", "identification:string", "status:bool" };

            bool isOk = UpdateEntity(affiliate, "id", affiliate.GetAttribute("id").ToString(), attributes);

            Close();

            return(isOk);
        }