LF.EntityFramework.Extention
1.2.2
See the version list below for details.
dotnet add package LF.EntityFramework.Extention --version 1.2.2
NuGet\Install-Package LF.EntityFramework.Extention -Version 1.2.2
<PackageReference Include="LF.EntityFramework.Extention" Version="1.2.2" />
paket add LF.EntityFramework.Extention --version 1.2.2
#r "nuget: LF.EntityFramework.Extention, 1.2.2"
// Install LF.EntityFramework.Extention as a Cake Addin #addin nuget:?package=LF.EntityFramework.Extention&version=1.2.2 // Install LF.EntityFramework.Extention as a Cake Tool #tool nuget:?package=LF.EntityFramework.Extention&version=1.2.2
To bulk operation sql server, it have a high efficiency.
Bulk insert 1,000,000 records just need half minute
How to use it:
using LF.EntityFramework.Extention;
DBContextExtensions.SingleTaskMaxCount = 10000;//more than 10000 entities start multiple threads
DBContextExtensions.TaskCount = 10; //threads count for bulk do it
var t = DBcontext.Database.BeginTransaction();
DBcontext.BulkInsert(IEnumrobleEntities)
DBcontext.BulkUpdate(IEnumrobleEntities)
DBcontext.BulkDelete(IEnumrobleEntities)
t.Commit();
V1.1.2 --->Support relationship tables!!!
V1.2.1---->Multiple threads handler, faster than faster
V1.2.2---->Add update lock
Product | Versions 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. |
-
- EntityFramework (>= 6.4.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Faster than Faster, Bulk insert 1,000,000 records just need half minute