简体   繁体   中英

MS Dynamics CRM : how to delete child record when parent record is deleted using plugin in MS CRM

MS Dynamics CRM:当使用 MS CRM 中的插件删除父记录时,如何删除依赖主名称字段上 2 个子实体的子记录

Cascading delete.

If you want to handle it in your code, though:

1) fetch the children of those records 2) delete the children using org service 3) delete the parent using org service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM