Fastest Way of Inserting in Entity Framework

前端 未结 30 2182
鱼传尺愫
鱼传尺愫 2020-11-21 05:23

I\'m looking for the fastest way of inserting into Entity Framework.

I\'m asking this because of the scenario where you have an active TransactionScope a

30条回答
  •  情话喂你
    2020-11-21 05:43

    You may use Bulk package library. Bulk Insert 1.0.0 version is used in projects having Entity framework >=6.0.0 .

    More description can be found here- Bulkoperation source code

提交回复
热议问题