简体   繁体   English

在Dynamics CRM中删除实体

[英]Deleting entities in Dynamics CRM

This should be simple... 这应该很简单...

Im using the CRM web service to delete entities such as products -> service.Delete(product); 我正在使用CRM Web服务删除诸如产品-> service.Delete(product);之类的实体。

This sets the DeletionStateCode to 2 but when does it get deleted for real? 这会将DeletionStateCode设置为2,但是何时真正删除它? I did this yesterday and they are still there... 我昨天是这样做的,他们仍然在那里。

The Asynchronous Service (for CRM 4) or Deletion Service (for CRM 3) runs once a day and cleans up all these records from the database. 异步服务(对于C​​RM 4)或删除服务(对于C​​RM 3)每天运行一次,并从数据库中清除所有这些记录。 If you need them cleaned up earlier than that, you can run the Scale Group Job Editor and set the deletion service to run in a few minutes. 如果需要在此之前进行清理,则可以运行“ 缩放组作业编辑器”并将删除服务设置为在几分钟内运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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