# EF Core: choosing a strategy for bulk inserts

Canonical source : [EF Core: choosing a strategy for bulk inserts](<https://sebastien.rigaux.be/en/tech-watch/links/ef-core-choosing-a-strategy-for-bulk-inserts>)

The right way to insert large volumes with EF Core depends on factors such as change tracking, whether generated IDs are needed, and the shape of the data. Chris Woody Woodruff compares `AddRange` with `SaveChanges`, `SqlBulkCopy`, and Entity Framework Extensions’ bulk operations, detailing their maintenance and behavioral trade-offs.

For parent-child relationships, `IncludeGraph` automates insert ordering and foreign-key assignment. The article also flags two effects to audit before adopting bulk operations: they can run outside `SaveChanges`’ deferred-commit flow, and `ISaveChangesInterceptor` implementations are not invoked.

- Selected on : 2026-11-20

- Resource publication : 2026-05-25

- Entry updated : 2026-11-20T08:08:06+0000

- Format : Article

- Source language : EN

- Credit : Chris Woody Woodruff

- Found via : [C\# Digest](<https://csharpdigest.net/>)

Original resource : [EF Core: choosing a strategy for bulk inserts](<https://woodruff.dev/blog/ef-core-bulk-insert-the-complete-guide-to-inserting-thousands-of-rows-without-the-wait/>)

Tags : [Entity Framework Core](<https://sebastien.rigaux.be/en/tech-watch/tags/entity-framework-core>) · [SQL Server](<https://sebastien.rigaux.be/en/tech-watch/tags/sql-server>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/ef-core-choisir-la-bonne-strategie-pour-les-insertions-en-masse>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/ef-core-choosing-a-strategy-for-bulk-inserts>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
