开发者

Deleting entities in Dynamics 4

开发者 https://www.devze.com 2023-02-21 22:37 出处:网络
I have about 40 entities in Dynamics that I need to delete. Some of them has relationships to each other. Deleting them using the web UI is very tedious as I have to make sure that there are no entiti

I have about 40 entities in Dynamics that I need to delete. Some of them has relationships to each other. Deleting them using the web UI is very tedious as I have to make sure that there are no entities using the one I'm currently trying to delete. Is there a qu开发者_StackOverflow中文版ick way to delete them (maybe directly in SQL Server)?

Thanks,

David


You could automate this with a program using the CrmService and Metadata Service, but I'm pretty sure writing that is not quicker than deleting the entities by hand (though it would be an interesting thing to build with all the special steps that task would include).

Never do things like this directly through the database server; that's a sure-fire way to corrupt your database beyond repair.


Is it a dev instance? Start over and import what you do want ;) Its could be a long, painful exercise fixing all those views, forms, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号