Hi Guys,
I have to a very large entity collection (50,000+) simple entities. Whats the fastest way to get them to saved into the database. Is there a bulk save operation?
Cheers
Pete
This has been discussed before several times. Please search the forum for either 'bulk insert' or 'SQLBulkCopy' (without the single quotes)
Examples of such recent discussions: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=15195 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=12462
Thanks for the pointer. SqlBulkCopy will do nicely.