Answered by:
Is there an WCF method for buk insert in MSCRM 2011?

Question
-
Hi Tech Friends,
Is there an WCF method for buk insert in MSCRM 2011?
I know we have Create, Retrieve, Update, RetrieveMultiple and Delete.
But do we have one for BulkInsert? I do not see that anywhere in documentation.
Thanks in advance!
-Jai
Wednesday, October 3, 2012 11:45 AM
Answers
-
Hello Jai,
Unfortunately there is no Bulk Insert/Update/Delete operations in CRM.
At least at the moment. You will have to do operations record-by-record.
- Proposed as answer by MubasherSharif Wednesday, October 3, 2012 1:56 PM
- Marked as answer by Jai Mallesh Babu Tuesday, November 6, 2012 11:15 AM
Wednesday, October 3, 2012 12:03 PMModerator
All replies
-
I dont want REST resolution as we have requirement to do bulk insert outside MSCRM Web (we cannot use REST).
-Jai
Wednesday, October 3, 2012 11:49 AM -
Hello Jai,
Unfortunately there is no Bulk Insert/Update/Delete operations in CRM.
At least at the moment. You will have to do operations record-by-record.
- Proposed as answer by MubasherSharif Wednesday, October 3, 2012 1:56 PM
- Marked as answer by Jai Mallesh Babu Tuesday, November 6, 2012 11:15 AM
Wednesday, October 3, 2012 12:03 PMModerator -
I don't know your requirements butyou can use organisation service context. you can create multiple objects and add them to the context and call
context.SaveChanges(); method just once instead of calling Create method for every object.
http://msdn.microsoft.com/en-us/library/gg334504.aspx
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Amreek Singh Senior Solution Architect HP Australia Sydney, Australia http://mscrmshop.blogspot.com http://crm2011usersettings.codeplex.com
- Edited by Amreek Singh Wednesday, October 3, 2012 12:33 PM
Wednesday, October 3, 2012 12:32 PM