CRM 2011 SDK transaction
问题 How to create transaction using crm 2011 sdk and XrmServiceContext? In next example 'new_brand' is some custom entity. I want to create three brands. Third has wrong OwnerID guid. When I call SaveChanges() method, two brands are created and I've got exception. How to rollback creating of first two brands? Is it possible without using pluggins and workflows? using (var context = new XrmServiceContext(connection)) { SystemUser owner = context.SystemUserSet.FirstOrDefault(s => s.Id == new Guid(