Пример #1
0
        // method to delete a customer address
        public static bool Delete(string apiUrl, string sessionId, int customerAddressid)
        {
            ICustomerAddress proxyCustomer = (ICustomerAddress)XmlRpcProxyGen.Create(typeof(ICustomerAddress));

            proxyCustomer.Url = apiUrl;

            return(proxyCustomer.Update(sessionId, _customer_delete, new object[] { customerAddressid }));
        }
Пример #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Leadin.Model.CustomerAddress model)
 {
     return(dal.Update(model));
 }