{"repo":"mtanneryd/ef-bulk-operations","free":true,"listed":false,"github":"https://github.com/mtanneryd/ef-bulk-operations","clone":"git clone https://github.com/mtanneryd/ef-bulk-operations.git","description":"Bulk operations for Entity Framework 6","language":"C#","stars":82,"topics":["ef6","bulkcopy","sql","entity-framework","database","nuget","entity","dbcontext","insert"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Tanneryd.BulkOperations.EF6 / EFCore NuGet packages that extend DbContext with high-throughput SQL Server bulk operations (insert, update, select, delete) for Entity Framework 6 and EF Core. Getting started Background See the CodeProject article Bulk operations using Entity Framework (Internet Archive; CodeProject is offline) for design background. Install Target Package -------- --------- EF6 (.NET Framework 4.8) Tanneryd.BulkOperations.EF6 EF Core Tanneryd.BulkOperations.EFCore Both packages target SQL Server . EF Core uses Microsoft.Data.SqlClient . EF6 accepts either Microsoft.Data.SqlClient or the legacy System.Data.SqlClient connection that classic EF6 apps usually get. EF6 SqlClient support EF6 resolves ctx.Database.Connection (or an EntityConnection store connection) and runs bulk work against whichever concrete type is present: Connection type Supported Notes ----------------- ----------- ------- Microsoft.Data.SqlClient.SqlConnection Yes (recommended) Preferred going forward; required if you pass a Microsoft.Data.SqlClient.SqlTransaction on the request. System.Data.SqlClient.SqlConnection Yes Works for default EF6 + EntityFramework.SqlServer setups without migrating the provider. You do not need to migrate off System.Data.SqlClient for bulk operations to work. The library keeps a dual facade for commands and SqlBulkCopy . Caveat: request Transaction is typed as Microsoft.Data.SqlClient.SqlTransaction . That value cannot be used when the context still owns a legacy S","default_branch":null,"files":null,"tree":[],"storefront":"/r/mtanneryd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mtanneryd/ef-bulk-operations/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}