EntityFramework6.BulkInsert.MySql 6.0.3.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFramework6.BulkInsert.MySql --version 6.0.3.9                
NuGet\Install-Package EntityFramework6.BulkInsert.MySql -Version 6.0.3.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityFramework6.BulkInsert.MySql" Version="6.0.3.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFramework6.BulkInsert.MySql --version 6.0.3.9                
#r "nuget: EntityFramework6.BulkInsert.MySql, 6.0.3.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EntityFramework6.BulkInsert.MySql as a Cake Addin
#addin nuget:?package=EntityFramework6.BulkInsert.MySql&version=6.0.3.9

// Install EntityFramework6.BulkInsert.MySql as a Cake Tool
#tool nuget:?package=EntityFramework6.BulkInsert.MySql&version=6.0.3.9                

EntityFramework.BulkInsert

Updated port of EntityFramework.BulkInsert from the original version on the Codeplex site. This is not my original project, this is to keep it going and add minor updates and support. The original was hosted on Codeplex but later taken down. Since then the project has seen support for async IO, bug fixes, explicit transaction support and support for MySql.

NuGet

There are several NuGet packages available:

  • EntityFramework6.BulkInsert NuGet

  • EntityFramework6.BulkInsert.SqlServerCe NuGet

  • EntityFramework6.BulkInsert.MySql NuGet

Purpose

The purpose of this library is for performing Bulk Inserts using EntityFramework 6 and your existing DbContext instance to perform faster inserts instead of generating multiple insert statements for a collection of strongly typed objects.

Usage

IEnumerable<Car> cars = GenerateCars();

using (var context = GetDbContext())
{
    context.BulkInsert<Car>(cars);
}

Async IO support is also built in:

IEnumerable<Car> cars = GenerateCars();

using (var context = GetDbContext())
{
    await context.BulkInsertAsync<Car>(cars);
}

This library supports Explicit and Implicit transactions either using IDbTransaction or TransactionScope

Building

To build/compile clone this repository and build:

git clone https://github.com/ghost1face/EntityFramework.BulkInsert.git
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.3.10 947 5/15/2019
6.0.3.9 655 2/20/2019
6.0.3.8 864 8/15/2018
6.0.3.7 813 7/22/2018
6.0.3.6 1,021 4/26/2018