Questions tagged [ef-bulkinsert]

EntityFramework.BulkInsert is an extension for Entity Framework that allows users to insert large amounts of data faster than with a regular insert

EntityFramework.BulkInsert is an extension for Entity Framework that allows users to insert large amounts of data faster than with a regular insert. It's project homepage on Codeplex exists here. It already ships with common providers for databases like SQLServer and Oracle, but also can be extended to use custom implementations. It supports advanced features like transactions and streaming of data.

The documentation for using EntityFramework.BulkInsert can be found here.

19 questions
0
votes
0 answers

EF BulkInsert randomly inserting thousands of records

I have an MVC app/api that accepts a JSON request from an AngularJs application. The request contains: a Lead property, a VisitorID (Guid), and a collection of schools. For the collection of schools I generate tasks that will submit each school to…
Bryan
  • 101
  • 10
0
votes
1 answer

EntityFramework.BulkInsert is not giving any warnings or errors but isn't saving

I've used BulkInsert in the past, but this is something I've not experienced. Here is what is happening. I'm creating a List an after I've generated my list, I call context.BulkInsert(myList);. Visual Studio isn't giving me any…
RLH
  • 15,230
  • 22
  • 98
  • 182
0
votes
1 answer

Bulkinsert with a certain non-nullable int field results in InvalidOperationException saying DBNull.Value is not allowed for that field

I am using EntityFramework.BulkInsert from https://efbulkinsert.codeplex.com/ trying to insert a number of records from a List into the database. What I am getting is an exception about an int field where values that equals DBNull.Value are not…
-1
votes
1 answer

EF Core BulkInsert 'Object reference not set to an instance of an object.'

My EF Core BulkInsert throws error when inserting more than 80 rows, below is the example insert 80 rows data Insert 80 rows but when i try 100rows the error as shown System.NullReferenceException: 'Object reference not set to an instance of an…
KimKim
  • 21
  • 8
1
2