Z.EntityFramework.Extensions.EF4 3.16.5

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Z.EntityFramework.Extensions.EF4 --version 3.16.5
                    
NuGet\Install-Package Z.EntityFramework.Extensions.EF4 -Version 3.16.5
                    
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="Z.EntityFramework.Extensions.EF4" Version="3.16.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Z.EntityFramework.Extensions.EF4" Version="3.16.5" />
                    
Directory.Packages.props
<PackageReference Include="Z.EntityFramework.Extensions.EF4" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Z.EntityFramework.Extensions.EF4 --version 3.16.5
                    
#r "nuget: Z.EntityFramework.Extensions.EF4, 3.16.5"
                    
#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.
#:package Z.EntityFramework.Extensions.EF4@3.16.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Z.EntityFramework.Extensions.EF4&version=3.16.5
                    
Install as a Cake Addin
#tool nuget:?package=Z.EntityFramework.Extensions.EF4&version=3.16.5
                    
Install as a Cake Tool
// Fiddle: https://dotnetfiddle.net/awlJdf
// @nuget: EntityFramework
// @nuget: Z.EntityFramework.Extensions
// Website: https://entityframework-extensions.net/

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Data.Entity;
public class Program
{
	public static List<BenchmarkResult> BenchmarkResults = new List<BenchmarkResult>();
	
	public static void Main()
	{
		JustInTime_Compile();
		
		// Generate X entities
		var customers = GenerateCustomers(1000);
		var inactiveCustomers = customers.Where(x => !x.IsActive).ToList();
		
		var clockInsert = new Stopwatch();
		var clockUpdate = new Stopwatch();
		var clockDelete = new Stopwatch();
		
		using (var context = new EntityContext())
		{
			// BulkInsert
			{
				clockInsert.Start();
				context.BulkInsert(customers);
				clockInsert.Stop();
				
				BenchmarkResults.Add(new BenchmarkResult() { Action = "BulkInsert", Entities = customers.Count, Performance = clockInsert.ElapsedMilliseconds + " ms" });
			}
			
			// BulkUpdate
			{
				inactiveCustomers.ForEach(x => x.Name = "zzz;" + x.Name);
				clockUpdate.Start();
				context.BulkUpdate(inactiveCustomers);
				clockUpdate.Stop();
				
				BenchmarkResults.Add(new BenchmarkResult() { Action = "BulkUpdate", Entities = inactiveCustomers.Count, Performance = clockUpdate.ElapsedMilliseconds + " ms" });
			}
			
			// BulkDelete
			{
				clockDelete.Start();
				context.BulkDelete(inactiveCustomers);
				clockDelete.Stop();
				
				BenchmarkResults.Add(new BenchmarkResult() { Action = "BulkDelete", Entities = inactiveCustomers.Count, Performance = clockDelete.ElapsedMilliseconds + " ms" });
			}
		}
		
		FiddleHelper.WriteTable("EFE - Easy to use, easy to customize!", BenchmarkResults);
	}
		 
	public static void JustInTime_Compile()
	{
		var customers = GenerateCustomers(10);
		
		using (var context = new EntityContext())
		{
			context.BulkInsert(customers);
			context.BulkDelete(customers);
		}
	}
	
	public static List<Customer> GenerateCustomers(int count)
	{
		var list = new List<Customer>();
		
		for(int i = 0; i < count; i++)
		{
			list.Add(new Customer() { Name = "Customer_" + i, Description = "Description_" +  i, IsActive = i % 2 == 0 });
		}

		return list;
	}

	public class EntityContext : DbContext
	{
		public EntityContext() : base(FiddleHelper.GetConnectionStringSqlServer())
		{

		}
		
		public DbSet<Customer> Customers { get; set; }
	}

	public class Customer
	{
		public int CustomerID { get; set; }
		public string Name { get; set; }
		public string Description { get; set; }
		public Boolean IsActive { get; set; }
	}
	
	public class BenchmarkResult
	{
		public string Action { get; set; }
		public int Entities { get; set; }
		public string Performance { get; set; }
	}
}
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  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
10.105.2.1 97 1/19/2026
10.105.2 4,181 12/9/2025
10.105.0 8,833 11/11/2025
9.104.0.1 12,991 10/7/2025
9.104.0 15,026 9/16/2025
9.103.9.3 15,254 8/12/2025
9.103.9.2 15,616 7/21/2025
9.103.9.1 15,293 6/23/2025
9.103.9 15,433 6/10/2025
9.103.8.1 15,321 5/6/2025
9.103.8 15,330 4/8/2025
9.103.7.2 15,344 3/10/2025
9.103.7.1 15,264 2/11/2025
9.103.7 15,220 1/14/2025
9.103.6.4 15,237 12/17/2024
9.103.6.3 15,271 11/26/2024
8.103.6.2 15,265 11/12/2024
8.103.6.1 15,269 11/6/2024
8.103.6 15,322 10/21/2024
8.103.5 15,305 10/8/2024
8.103.4 15,275 9/23/2024
8.103.3 15,292 8/27/2024
8.103.2 15,274 8/12/2024
8.103.1 15,283 7/22/2024
8.103.0 15,309 6/18/2024
8.102.3 15,283 6/3/2024
8.102.2.5 15,249 5/21/2024
8.102.2.4 15,291 4/30/2024
8.102.2.3 15,290 4/23/2024
8.102.2.2 15,290 4/16/2024
8.102.2.1 17,160 3/26/2024
8.102.2 15,388 3/12/2024
8.102.1.1 15,477 2/27/2024
8.102.1 15,598 2/13/2024
8.102.0 15,647 2/6/2024
8.101.2.1 15,665 1/23/2024
8.101.2 15,728 1/16/2024
8.101.1.3 15,890 12/19/2023
8.101.1.2 15,948 12/12/2023
8.101.1.1 16,017 12/5/2023
8.101.1 15,955 11/28/2023
8.101.0 15,925 11/15/2023
7.100.0.5 16,023 10/24/2023
7.100.0.4 15,997 10/17/2023
7.100.0.3 16,106 10/3/2023
7.100.0.2 16,053 9/26/2023
7.100.0.1 16,021 9/19/2023
7.100.0 16,114 9/12/2023
7.22.7 16,154 9/11/2023
7.22.6 16,209 8/15/2023
7.22.4 16,188 7/11/2023
7.22.3 16,281 6/12/2023
7.22.2 16,331 5/30/2023
7.22.0 16,324 5/16/2023
7.21.1 16,286 5/2/2023
7.21.0 16,345 4/17/2023
7.20.2 16,375 3/28/2023
7.20.0 16,348 3/20/2023
7.19.0 16,439 3/7/2023
7.18.5 16,423 2/21/2023
7.18.4 16,343 2/7/2023
7.18.3 16,449 1/24/2023
7.18.2 16,436 1/17/2023
7.18.1 16,439 12/20/2022
7.18.0 16,484 12/6/2022
7.17.2 16,487 12/5/2022
7.17.1 16,496 11/22/2022
7.17.0 16,472 11/15/2022
6.16.1 16,506 11/1/2022
6.16.0 16,580 10/25/2022
6.15.2 16,562 10/11/2022
6.15.1 16,546 9/26/2022
6.15.0 16,573 9/12/2022
6.14.4 16,561 8/16/2022
6.14.3 16,656 7/19/2022
6.14.2 16,644 6/22/2022
6.14.1 16,575 6/14/2022
6.14.0 16,628 6/7/2022
6.13.21 16,624 5/24/2022
6.13.20 16,613 5/17/2022
6.13.19 16,619 5/10/2022
6.13.18 16,626 4/26/2022
6.13.17 16,674 4/12/2022
6.13.15 16,646 3/15/2022
6.13.14 16,639 3/8/2022
6.13.13 16,698 3/1/2022
6.13.12 16,615 2/22/2022
6.13.10 16,683 2/14/2022
6.13.9 16,690 2/8/2022
6.13.8 16,615 2/1/2022
6.13.7 16,689 1/18/2022
6.13.6 16,456 1/11/2022
6.13.5 16,531 12/30/2021
6.13.4 16,558 12/14/2021
6.13.3 16,471 12/7/2021
6.13.2 23,783 11/24/2021
6.13.1 16,580 11/17/2021
6.13.0 16,643 11/9/2021
5.2.17 16,614 11/3/2021
5.2.16 16,634 10/27/2021
5.2.15 16,588 10/20/2021
5.2.14 16,556 10/13/2021
5.2.13 16,590 9/22/2021
5.2.12 16,575 9/15/2021
5.2.10 16,648 9/8/2021
5.2.9 16,593 9/1/2021
5.2.8 16,608 8/25/2021
5.2.7 16,568 8/17/2021
5.2.6 16,650 8/4/2021
5.2.5 16,591 7/28/2021
5.2.4 16,587 7/20/2021
5.2.3 16,576 7/13/2021
5.2.2 16,606 7/5/2021
5.2.0 16,551 6/30/2021
5.1.41 16,591 6/16/2021
5.1.40 16,541 6/14/2021
5.1.39 16,648 6/2/2021
5.1.38 16,667 5/31/2021
5.1.37 16,581 5/19/2021
5.1.36 16,626 5/12/2021
5.1.35 16,558 5/5/2021
5.1.34 16,602 5/3/2021
5.1.33 16,584 4/26/2021
5.1.32 16,548 4/26/2021
5.1.31 16,552 4/19/2021
5.1.30 16,585 4/7/2021
5.1.29 16,579 3/30/2021
5.1.28 16,564 3/26/2021
5.1.27 16,606 3/25/2021
5.1.26 16,557 3/24/2021
5.1.25 16,686 3/17/2021
5.1.24 16,693 3/15/2021
5.1.23 16,803 3/10/2021
5.1.22 16,757 3/2/2021
5.1.21 16,658 2/23/2021
5.1.20 16,724 2/19/2021
5.1.19 16,722 2/16/2021
5.1.18 16,702 2/11/2021
5.1.17 16,799 2/10/2021
5.1.16 16,764 2/2/2021
5.1.15 16,775 1/27/2021
5.1.14 16,782 1/19/2021
5.1.13 16,729 1/13/2021
5.1.12 16,804 1/10/2021
5.1.11 16,811 1/5/2021
5.1.10 16,758 12/30/2020
5.1.9 16,753 12/16/2020
5.1.8 16,741 12/14/2020
5.1.7 16,752 12/11/2020
5.1.6 16,805 12/8/2020
5.1.5 16,806 12/1/2020
5.1.4 16,807 11/27/2020
5.1.3 16,680 11/23/2020
5.1.2 16,787 11/19/2020
5.1.1 16,822 11/18/2020
5.1.0 16,812 11/11/2020
4.0.106 16,867 11/5/2020
4.0.105 16,914 10/30/2020
4.0.104 16,789 10/26/2020
4.0.103 16,835 10/21/2020
4.0.102 16,938 10/20/2020
4.0.101 16,772 10/15/2020
4.0.100 16,854 10/14/2020
4.0.99 16,805 10/13/2020
4.0.98 16,756 10/11/2020
4.0.97 16,850 10/7/2020
4.0.96 16,821 9/25/2020
4.0.95 16,803 9/21/2020
4.0.94 16,732 9/14/2020
4.0.93 16,822 9/10/2020
4.0.92 16,791 9/8/2020
4.0.91 16,811 8/31/2020
4.0.90 16,872 8/26/2020
4.0.89 16,810 8/11/2020
4.0.88 16,818 8/6/2020
4.0.87 16,809 8/3/2020
4.0.86 16,861 7/27/2020
4.0.85 16,813 7/23/2020
4.0.84 16,841 7/20/2020
4.0.82 16,842 7/14/2020
4.0.81 16,844 7/13/2020
4.0.80 16,883 7/12/2020
4.0.79 16,780 6/16/2020
4.0.78 16,958 6/13/2020
4.0.76 16,924 6/3/2020
4.0.75 16,887 5/22/2020
4.0.73 16,872 5/18/2020
4.0.72 16,810 5/14/2020
4.0.71 16,836 5/12/2020
4.0.70 16,867 5/11/2020
4.0.69 16,858 5/5/2020
4.0.68 16,929 4/29/2020
4.0.67 16,837 4/22/2020
4.0.66 16,831 4/22/2020
4.0.65 16,906 4/17/2020
4.0.64 16,859 4/15/2020
4.0.63 16,756 4/8/2020
4.0.62 16,918 4/7/2020
4.0.61 16,895 4/2/2020
4.0.60 16,878 4/1/2020
4.0.59 16,836 3/23/2020
4.0.58 16,843 3/23/2020
4.0.57 16,957 3/16/2020
4.0.56 16,897 3/10/2020
4.0.55 16,860 3/10/2020
4.0.54 17,402 3/3/2020
4.0.53 16,850 2/27/2020
4.0.52 16,839 2/25/2020
4.0.51 16,882 2/24/2020
4.0.50 16,895 2/19/2020
4.0.49 16,922 2/17/2020
4.0.48 16,882 2/17/2020
4.0.47 16,908 2/11/2020
4.0.46 16,930 2/8/2020
4.0.45 16,941 2/7/2020
4.0.44 16,910 2/6/2020
4.0.43 16,874 2/3/2020
4.0.42 16,929 1/31/2020
4.0.40 16,963 1/29/2020
4.0.39 16,889 1/28/2020
4.0.35 16,893 1/9/2020
4.0.34 16,972 12/29/2019
4.0.33 16,890 12/29/2019
4.0.30 16,880 12/16/2019
4.0.29 16,906 12/13/2019
4.0.28 16,886 12/13/2019
4.0.27 16,928 12/13/2019
4.0.24 16,907 12/4/2019
4.0.23 16,812 12/4/2019
4.0.22 16,836 12/4/2019
4.0.21 16,845 12/3/2019
4.0.20 16,830 11/21/2019
4.0.19 16,827 11/20/2019
4.0.18 16,848 11/20/2019
4.0.13 16,919 11/14/2019
4.0.12 16,973 10/30/2019
4.0.11 16,933 10/23/2019
4.0.10 16,806 10/21/2019
4.0.9 16,845 10/10/2019
4.0.7 16,857 10/8/2019
4.0.6 16,833 10/1/2019
4.0.5 16,868 9/27/2019
4.0.4 16,862 9/26/2019
4.0.3 16,930 9/25/2019
4.0.2 16,892 9/23/2019
4.0.1 16,956 9/21/2019
4.0.0 16,918 9/20/2019
4.0.0-beta1 1,622 9/17/2019
3.22.7 16,924 9/11/2019
3.22.6 16,806 9/10/2019
3.22.5 16,963 9/5/2019
3.22.4 17,017 8/30/2019
3.22.3 16,941 8/26/2019
3.22.2 16,868 8/24/2019
3.22.1 16,882 8/19/2019
3.22.0 16,939 8/17/2019
3.21.13 17,004 8/16/2019
3.21.12 16,887 8/15/2019
3.21.11 16,876 8/5/2019
3.21.10 16,976 7/31/2019
3.21.9 16,909 7/28/2019
3.21.8 29,504 7/24/2019
3.21.7 16,865 7/17/2019
3.21.6 16,955 7/16/2019
3.21.5 17,000 7/11/2019
3.21.4 16,928 7/9/2019
3.21.2 16,996 6/29/2019
3.21.1 16,883 6/28/2019
3.21.0 16,953 6/26/2019
3.20.8 16,989 7/24/2019
3.20.7 16,924 6/25/2019
3.20.6 16,979 6/20/2019
3.20.5 16,971 6/18/2019
3.20.4 16,955 6/18/2019
3.20.2 17,005 6/17/2019
3.20.1 17,001 6/14/2019
3.20.0 16,970 6/13/2019
3.19.0 17,030 6/4/2019
3.18.6 17,002 6/4/2019
3.18.5 16,942 5/30/2019
3.18.4 16,968 5/28/2019
3.18.3 16,968 5/14/2019
3.18.2 16,935 5/14/2019
3.18.1 16,856 5/9/2019
3.18.0 16,977 5/7/2019
3.17.8 16,926 4/30/2019
3.17.7 17,021 4/25/2019
3.17.6 16,981 4/18/2019
3.17.5 17,078 4/16/2019
3.17.4 16,951 4/11/2019
3.17.3 17,017 4/8/2019
3.17.1 17,078 3/30/2019
3.17.0 16,949 3/30/2019
3.16.45 16,962 3/27/2019
3.16.44 17,008 3/27/2019
3.16.43 17,079 3/23/2019
3.16.41 16,970 3/19/2019
3.16.40 16,969 3/15/2019
3.16.39 16,982 3/15/2019
3.16.38 16,930 3/15/2019
3.16.37 17,001 3/13/2019
3.16.36 16,960 3/12/2019
3.16.35 17,008 3/12/2019
3.16.34 16,993 3/12/2019
3.16.33 16,944 3/8/2019
3.16.32 16,909 3/8/2019
3.16.30 16,970 3/1/2019
3.16.29 16,950 2/28/2019
3.16.28 16,960 2/27/2019
3.16.27 16,991 2/25/2019
3.16.26 16,991 2/24/2019
3.16.25 17,029 2/21/2019
3.16.24 17,022 2/12/2019
3.16.23 17,074 1/30/2019
3.16.22 17,112 1/18/2019
3.16.21 17,154 1/15/2019
3.16.20 17,121 1/14/2019
3.16.19 17,083 1/8/2019
3.16.18 17,136 12/30/2018
3.16.17 17,118 12/20/2018
3.16.16 16,998 12/15/2018
3.16.15 17,184 12/7/2018
3.16.14 17,113 11/29/2018
3.16.13 17,159 11/28/2018
3.16.12 17,062 11/20/2018
3.16.11 17,220 11/9/2018
3.16.10 17,234 11/6/2018
3.16.8 17,124 10/28/2018
3.16.7 17,168 10/23/2018
3.16.6 17,186 10/23/2018
3.16.5 17,173 10/16/2018
3.16.4 17,182 10/15/2018
3.16.3 17,087 10/8/2018
3.16.2 17,092 9/29/2018
3.16.1 17,204 9/27/2018
3.16.0 17,225 9/13/2018
3.15.22 17,244 9/12/2018
3.15.21 17,213 9/11/2018
3.15.20 17,241 9/1/2018
3.15.19 17,172 8/30/2018
3.15.18 17,398 8/3/2018
3.15.17 17,401 8/2/2018
3.15.16 17,309 8/2/2018
3.15.14 17,323 7/31/2018
3.15.13 17,344 7/31/2018
3.15.12 17,365 7/25/2018
3.15.11 17,438 7/25/2018
3.15.10 17,357 7/25/2018
3.15.9 17,328 7/20/2018
3.15.8 17,575 7/19/2018
3.15.7 17,602 7/19/2018
3.15.6 17,670 7/16/2018
3.15.5 17,597 7/8/2018
3.15.4 17,405 6/29/2018
3.15.3 17,671 6/21/2018
3.15.0 17,576 6/12/2018
3.14.33 17,568 6/5/2018
3.14.32 17,703 6/1/2018
3.14.31 17,717 5/31/2018
3.14.30 17,752 5/30/2018
3.14.29 17,671 5/27/2018
3.14.28 17,679 5/25/2018
3.14.27 17,570 5/22/2018
3.14.26 17,762 5/9/2018
3.14.25 17,747 5/1/2018
3.14.24 17,334 4/23/2018
3.14.23 17,714 4/17/2018
3.14.22 17,717 4/16/2018
3.14.21 17,402 4/13/2018
3.14.20 17,654 4/11/2018
3.14.19 17,716 4/11/2018
3.14.18 17,800 4/7/2018
3.14.17 17,841 3/30/2018
3.14.16 17,609 3/29/2018
3.14.15 17,616 3/27/2018
3.14.14 30,175 3/27/2018
3.14.13 17,437 3/25/2018
3.14.12 17,448 3/5/2018
3.14.11 17,558 2/28/2018
3.14.10 17,525 2/27/2018
3.14.9 17,447 2/22/2018
3.14.8 17,586 2/14/2018
3.14.7 17,484 1/31/2018
1.0.0-beta1 2,250 1/17/2018