EntityFrameworkCore.Testing.NSubstitute 2.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.NSubstitute --version 2.2.2
                    
NuGet\Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 2.2.2
                    
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="EntityFrameworkCore.Testing.NSubstitute" Version="2.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EntityFrameworkCore.Testing.NSubstitute" Version="2.2.2" />
                    
Directory.Packages.props
<PackageReference Include="EntityFrameworkCore.Testing.NSubstitute" />
                    
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 EntityFrameworkCore.Testing.NSubstitute --version 2.2.2
                    
#r "nuget: EntityFrameworkCore.Testing.NSubstitute, 2.2.2"
                    
#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 EntityFrameworkCore.Testing.NSubstitute@2.2.2
                    
#: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=EntityFrameworkCore.Testing.NSubstitute&version=2.2.2
                    
Install as a Cake Addin
#tool nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.2.2
                    
Install as a Cake Tool

A mocking library that creates EntityFrameworkCore (EFCore) system mocks using an EntityFrameworkCore provider and NSubstitute.

Includes support for queries/keyless db sets, FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, and async LINQ operations.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.0.0 8,704 11/23/2025
10.0.0-rc01.1 906 10/27/2025
10.0.0-rc01 445 9/27/2025
9.0.2 4,760 11/23/2025
9.0.1 198,061 11/27/2024
9.0.1-rc01 161 11/26/2024
9.0.0 1,416 11/25/2024
9.0.0-rc02 151 11/23/2024
9.0.0-rc01 167 11/23/2024
8.1.2 4,291 10/29/2025
8.1.1 61,151 11/23/2024
8.1.0 6,286 11/23/2024
8.1.0-rc01 161 11/23/2024
8.0.0 331,809 11/24/2023
8.0.0-rc01 503 11/19/2023
5.0.0 132,670 1/4/2023
5.0.0-rc01 481 12/14/2022
4.0.2 86,802 6/11/2022
4.0.2-rc01 571 6/7/2022
4.0.1 1,006 6/7/2022
4.0.1-rc01 358 5/23/2022
4.0.0 35,470 11/15/2021
4.0.0-net6.preview.5 5,608 6/18/2021
4.0.0-net6.preview.4 377 5/25/2021
4.0.0-net6.preview.3 385 4/24/2021
3.0.5 5,969 6/11/2022
3.0.4 722 6/7/2022
3.0.4-beta01 1,470 5/16/2021
3.0.3 56,428 5/9/2021
3.0.3-rc01 501 5/9/2021
3.0.2 873 4/24/2021
3.0.2-rc02 487 4/24/2021
3.0.1 1,720 4/4/2021
3.0.1-rc01 570 4/4/2021
3.0.0 6,464 3/1/2021
2.4.5 1,132 6/11/2022
2.4.4 617 6/7/2022
2.4.3 4,122 5/15/2021
2.4.2 633 4/24/2021
2.4.2-rc01 434 4/24/2021
2.4.1 603 4/4/2021
2.4.1-rc01 511 4/4/2021
2.4.0 9,804 3/1/2021
2.3.2 21,229 11/14/2020
2.3.1 7,309 9/24/2020
2.3.0 9,385 9/20/2020
2.2.2 3,340 7/13/2020
2.2.1 1,739 5/22/2020
2.2.0 1,630 3/8/2020
2.1.0 1,503 1/22/2020
2.0.4 787 1/19/2020
2.0.3 869 1/5/2020
2.0.3-RC05 615 12/30/2019
2.0.3-RC04 632 12/28/2019
2.0.3-RC03 715 12/28/2019
2.0.3-RC02 642 12/22/2019
1.3.5 800 6/11/2022
1.3.4 692 6/7/2022
1.3.3 804 5/15/2021
1.3.2 624 4/24/2021
1.3.2-rc01 439 4/24/2021
1.3.1 674 4/4/2021
1.3.1-rc01 438 4/4/2021
1.3.0 1,014 3/1/2021
1.2.1 2,009 11/14/2020
1.2.0 778 9/20/2020
1.1.2 1,746 7/13/2020
1.1.1 898 5/22/2020
1.1.0 932 3/8/2020
1.0.7 804 1/19/2020
1.0.6 853 1/5/2020
1.0.6-RC04 643 12/28/2019
1.0.6-RC02 613 12/22/2019
1.0.5 838 12/17/2019
1.0.4 832 11/14/2019
1.0.3 873 11/11/2019
1.0.2 1,433 10/27/2019