UNSUPPORTED LIBRARY SINCE 2014

We highly recommend you to use Entity Framework Extensions instead.

Entity Framework Extensions

Website: http://entityframework-extensions.net/

Dramatically Improve EF Performance with Bulk SaveChanges and Bulk Operations.

Insert a large amount of data over 20 times faster than a regular insert.
Support: Database First and Code First.
untitled-1.png

NuGet

EF Core

Coming soon

EF6

PM> Install-Package Z.EntityFramework.Extension
https://www.nuget.org/packages/Z.EntityFramework.Extensions

EF5

PM> Install-Package Z.EntityFramework.Extensions.EF5
https://www.nuget.org/packages/Z.EntityFramework.Extensions.EF5

Supports

Operations

  • BulkSaveChanges
  • BulkInsert
  • BulkUpdate
  • BulkDelete
  • BulkMerge

Providers

  • SQL Server
  • SQL Azure
  • SQL Compact
  • Oracle
  • MySQL
  • PostgreSQL
  • SQLite

Usage

// Easy to use
context.BulkSaveChanges();

// Easy to customize
context.BulkSaveChanges(bulk => bulk.BatchSize = 100);

// Perform Bulk Operations
context.BulkDelete(customers);
context.BulkInsert(customers);
context.BulkUpdate(customers);

// Customize Primary Key
context.BulkMerge(customers, operation => {
   operation.ColumnPrimaryKeyExpression = 
        customer => customer.Code;
});

Still want to try this library?

PM> Install-Package EntityFramework.MappingAPI
https://www.nuget.org/packages/EntityFramework.MappingAPI

Last edited Jan 24 at 8:39 PM by zzzprojects, version 15