C#

Asked • 06/06/19

Fastest Way of Inserting in Entity Framework?

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 and the insertion is huge (4000+). It can potentially last more than 10 minutes (default timeout of transactions), and this will lead to an incomplete transaction.

1 Expert Answer

By:

Daniel S. answered • 04/23/22

Tutor
5 (15)

Software Engineer Specializing in .NET Core/5/6

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.