阅读背景:

父子(保存,更新和删除)

来源:互联网 

I have a two tables set up as Parent/Child e.g Customer and Address (holding either one record which is both billing and shipping record or 2 records - one billing and one shipping record). Saving a new parent child is not an issue. The issue comes when the user needs to update his details. He has two addresses that he specified when he registered. On the edit screen now, he says his billing address is same as shipping address. How do I delete the second address as well as update his details in other address and his customer details.I have a two tables set up as Parent/Child e.g




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: