LF.EntityFramework.Extention (nuget): To bulk operation sql server, it have a high efficiency.  Bulk insert 1,000,000 records just need half minute  How to use it:  using LF.EntityFramework.Extention;  DBContextExtensions.SingleTaskMaxCount = 10000;//more than 10000 entities start multiple threads DBContextExtensions.TaskCount = 10; //threads count for bulk do it   var t = DBcontext.Database.BeginTransaction();  DBcontext.BulkInsert(IEnumrobleEntities)  DBcontext.BulkUpdate(IEnumrobleEntities)  DBcontext.BulkDelete(IEnumrobleEntities)  t.Commit();  V1.1.2 --->Support relationship tables!!! V1.2.1---->Multiple threads handler, faster than faster V1.2.2---->Add update lock
Keywords: EF|Bulk|Batch