开发者

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

I am using the ADO.Net Entity Model. Everytime I create a 开发者_C百科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?


Use transactions.

How to: Manage Transactions in the Entity Framework

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜