Hi,
I am using CRM 2011 Bulk request to delete data from multiple entities through c# code.My doubt is if i execute multiple Query expression as one Bilk delete request job will it suppor Database Transaction?
For example i want delete Case and its activities if there any error in any one of entity then i want rollback the action.
will it delete the order that we supplied the Query expressions?
var bulkDeleteRequest = new BulkDeleteRequest { JobName = "Sample Bulk Delete", QuerySet = new[] { activityExp,caseExp,ContactExp}, StartDateTime = DateTime.Now, CCRecipients = new Guid[] {} };
Here i want delete activityExp first ,CaseExp as second and ContactExp as Last,so if any error in any experssion then i want rollback all expressions.
so is bulk operation will fulfill my needs?
Thanks