{"id":36464455,"url":"https://github.com/andreisabau/EFBulkInsert","last_synced_at":"2026-01-18T17:00:44.240Z","repository":{"id":15395426,"uuid":"78060469","full_name":"andreisabau/EFBulkInsert","owner":"andreisabau","description":"Extension method over the Entity Framework DbContext for bulk insertion of entities.","archived":false,"fork":false,"pushed_at":"2024-01-16T20:12:19.000Z","size":96,"stargazers_count":16,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-25T08:11:13.993Z","etag":null,"topics":["bulk","bulkinsert","entity-framework","insert"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/EFBulkInsert/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreisabau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-04T23:11:21.000Z","updated_at":"2024-11-25T15:01:08.000Z","dependencies_parsed_at":"2024-06-21T17:39:30.242Z","dependency_job_id":"6e459a5e-4453-4bb5-9ca0-c42b25273cd8","html_url":"https://github.com/andreisabau/EFBulkInsert","commit_stats":null,"previous_names":["andreisabau/efbulkextensions"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andreisabau/EFBulkInsert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreisabau%2FEFBulkInsert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreisabau%2FEFBulkInsert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreisabau%2FEFBulkInsert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreisabau%2FEFBulkInsert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreisabau","download_url":"https://codeload.github.com/andreisabau/EFBulkInsert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreisabau%2FEFBulkInsert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulk","bulkinsert","entity-framework","insert"],"created_at":"2026-01-12T00:00:48.965Z","updated_at":"2026-01-18T17:00:44.229Z","avatar_url":"https://github.com/andreisabau.png","language":"C#","funding_links":[],"categories":["Unsupported Packages"],"sub_categories":[],"readme":"![CI](https://github.com/andreisabau/EFBulkInsert/workflows/CI/badge.svg?branch=master)\n![Nuget](https://img.shields.io/nuget/v/EFBulkInsert)\n![Nuget](https://img.shields.io/nuget/dt/EFBulkInsert)\n## EFBulkInsert\n#### Provides an extension method over the Entity Framework DbContext for bulk insertion of entities.\n\n### `BulkInsert\u003cT\u003e(IEnumerable\u003cT\u003e entities, int batchSize = 5000)`\n\nAllows fast insertion of entities in bulk with retrieval of the generated identity column.\n\n### Installation:\n##### Package Manger\n```\nInstall-Package EFBulkInsert -Version 0.4.0\n```\n##### .NET CLI\n```\ndotnet add package EFBulkInsert --version 0.4.0\n```\n##### PackageReference\n```\n\u003cPackageReference Include=\"EFBulkInsert\" Version=\"0.4.0\" /\u003e\n```\n\n\n### Usage:\n\n```csharp\ndbContext.BulkInsert(entites);\n\ndbContext.BulkInsert(entities, 10000); // bulk insert with batch size of 10000\n```\n\nPerformance improvements\n\n| # of entities | BulkInsert | EF SaveChanges |\n| ------------|------------|----------------|\n| 1000        | 127 ms     | 493 ms |\n| 5000        | 153 ms     | 2573 ms |\n| 10000       | 191 ms     | 4214 ms   |\n| 50000       | 485 ms     | 22542 ms  |\n| 100000      | 871 ms     | 41374 ms   |\n| 500000      | 3916 ms    | N/A  |\n| 1000000     | 7769 ms    | N/A  |\n\nTests made with: SQL Server 2016, EntityFramework 6.1.3 and EFBulkExtensions 0.1.0.\n\n### Version history\n##### v0.4.0 (2020-03-09)\n - Added: Support for Entity Framework Core 3.1.0\n \n##### v0.3.0 (2018-03-27)\n - Added: Support for schemas\n - Fixed: Inserting into tables without identity columns\n - Fixed: Retrieving the table name from EF metadata\n \n##### v0.2.0 (2017-05-17)\n - Fixed: Support for transactions\n\n##### v0.1.0 (2017-01-26)\n - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreisabau%2FEFBulkInsert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreisabau%2FEFBulkInsert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreisabau%2FEFBulkInsert/lists"}