How to insert a large number of records quickly using ADO.Net Entity Model?

Posted by esac on Stack Overflow See other posts from Stack Overflow or by esac
Published on 2010-06-10T23:08:26Z Indexed on 2010/06/10 23:12 UTC
Read the original article Hit count: 294

Filed under:
|
|

I am using the ADO.Net Entity Model. Everytime I create a record, I am calling _entity.AddToTable(object); _entity.SaveChanges();

What is the fastest way of inserting the data? Is there any "batch" or "SqlBulkCopy" option for entity model?

© Stack Overflow or respective owner

Related posts about c#

Related posts about database