EntityFrameworkCore.Testing.NSubstitute 2.2.0

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.0                
NuGet\Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 2.2.0                
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.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Testing.NSubstitute --version 2.2.0                
#r "nuget: EntityFrameworkCore.Testing.NSubstitute, 2.2.0"                
#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.
// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.2.0

// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.2.0                

A mocking library for EntityFrameworkCore (EFCore) using NSubstitute. Provides a functionally complete DbContext for your tests.

This is achieved by extending the in-memory provider, mocking relational and queryable operations to provide support for Queries/Keyless DbSets, FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, and async LINQ operations.

Support is also provided for other LINQ operations not supported by the in-memory provider, such as ElementAt, SkipWhile, TakeWhile, etc.

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. 
.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
9.0.0-rc02 36 11/23/2024
9.0.0-rc01 30 11/23/2024
8.1.1 54 11/23/2024
8.1.0 45 11/23/2024
8.1.0-rc01 30 11/23/2024
8.0.0 185,209 11/24/2023
8.0.0-rc01 410 11/19/2023
5.0.0 110,563 1/4/2023
5.0.0-rc01 338 12/14/2022
4.0.2 75,453 6/11/2022
4.0.2-rc01 276 6/7/2022
4.0.1 810 6/7/2022
4.0.1-rc01 179 5/23/2022
4.0.0 33,030 11/15/2021
4.0.0-net6.preview.5 5,330 6/18/2021
4.0.0-net6.preview.4 210 5/25/2021
4.0.0-net6.preview.3 222 4/24/2021
3.0.5 3,418 6/11/2022
3.0.4 535 6/7/2022
3.0.4-beta01 1,311 5/16/2021
3.0.3 52,990 5/9/2021
3.0.3-rc01 308 5/9/2021
3.0.2 696 4/24/2021
3.0.2-rc02 317 4/24/2021
3.0.1 1,428 4/4/2021
3.0.1-rc01 379 4/4/2021
3.0.0 6,242 3/1/2021
2.4.5 802 6/11/2022
2.4.4 442 6/7/2022
2.4.3 3,537 5/15/2021
2.4.2 444 4/24/2021
2.4.2-rc01 260 4/24/2021
2.4.1 404 4/4/2021
2.4.1-rc01 338 4/4/2021
2.4.0 9,613 3/1/2021
2.3.2 20,377 11/14/2020
2.3.1 7,065 9/24/2020
2.3.0 9,180 9/20/2020
2.2.2 3,116 7/13/2020
2.2.1 1,451 5/22/2020
2.2.0 1,385 3/8/2020
2.1.0 1,286 1/22/2020
2.0.4 595 1/19/2020
2.0.3 656 1/5/2020
2.0.3-RC05 415 12/30/2019
2.0.3-RC04 443 12/28/2019
2.0.3-RC03 513 12/28/2019
2.0.3-RC02 437 12/22/2019
1.3.5 607 6/11/2022
1.3.4 521 6/7/2022
1.3.3 613 5/15/2021
1.3.2 432 4/24/2021
1.3.2-rc01 251 4/24/2021
1.3.1 480 4/4/2021
1.3.1-rc01 250 4/4/2021
1.3.0 806 3/1/2021
1.2.1 1,810 11/14/2020
1.2.0 554 9/20/2020
1.1.2 1,543 7/13/2020
1.1.1 657 5/22/2020
1.1.0 720 3/8/2020
1.0.7 606 1/19/2020
1.0.6 659 1/5/2020
1.0.6-RC04 432 12/28/2019
1.0.6-RC02 412 12/22/2019
1.0.5 620 12/17/2019
1.0.4 633 11/14/2019
1.0.3 635 11/11/2019
1.0.2 894 10/27/2019