EntityFramework6.BulkInsert 6.0.3.8

Fast Bulk insert extension for EntityFramework 6

Install-Package EntityFramework6.BulkInsert -Version 6.0.3.8
dotnet add package EntityFramework6.BulkInsert --version 6.0.3.8
paket add EntityFramework6.BulkInsert --version 6.0.3.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

Version History

Version Downloads Last updated
6.0.3.8 8,511 8/15/2018
6.0.3.7 259 7/22/2018
6.0.3.6 2,024 4/26/2018