how to insert parent child while doing entityframework.bulkinsert?

entity entity-framework entity-framework-4 entity-framework-5 entity-framework-6

Expert Answer

I possess EntityFramework.BulkInsert, which is Disclaimer.

Not at all.

This function has never been used.

I own Extended Entity Framework, which is Disclaimer.

This new library, though not free, is well equipped to deal with situations like this.

The BulkSaveChanges function the same manner as SaveChanges (handle parent/child), but much more quickly!

All techniques are accepted:

  • SaveChanges in bulk
  • a mass insert
  • mass deletion
  • Mass Update
  • mass merge

Example

// Easy to use
context.BulkSaveChanges();

// Easy to customize
context.BulkSaveChanges(bulk => bulk.BatchSize = 100);
1
3/10/2017 10:47:46 PM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow