EntityFrameworkCore.Testing.Moq 2.3.3-beta05

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

EntityFrameworkCore.Testing allows you to create an EntityFrameworkCore DbContext that you can use in your unit tests. It's easy to use (usually just a single line of code) with implementations for both Moq and NSubstitute.

It extends the functionality of an existing database provider by proxying over it. It was designed with the Microsoft in-memory provider in mind with supported operations sent to the database provider and unsupported operations, such as relational operations, handled by EntityFrameworkCore.Testing. While it does not attempt to mock supported operations, it does proxy over them using a mocking framework so you get all of the benefits of the latter such as being able to assert an invocation.

It includes support for queries/keyless db sets, FromSql/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 (1)

Showing the top 1 NuGet packages that depend on EntityFrameworkCore.Testing.Moq:

Package Downloads
Nanis.RepositoryCriteria.EntityFrameworkCore

Nanis.RepositoryCriteria.EntityFrameworkCore is a library designed to implement an abstraction of the **Repository** pattern using **Entity Framework**. This library also implements the **Unit of Work** pattern to manage database transactions and commits, and the **Criteria** pattern to build complex queries with logical operators and criteria composition.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0 1,480 11/23/2025
10.0.0-rc01.1 184 10/27/2025
10.0.0-rc01 179 9/27/2025
9.0.2 680 11/23/2025
9.0.1 141,448 11/27/2024
9.0.1-rc01 153 11/26/2024
9.0.0 1,610 11/25/2024
9.0.0-rc02 160 11/23/2024
9.0.0-rc01 161 11/23/2024
8.1.2 1,601 10/29/2025
8.1.1 70,026 11/23/2024
8.1.0 8,331 11/23/2024
8.1.0-rc01 164 11/23/2024
8.0.0 273,048 11/24/2023
8.0.0-rc01 533 11/19/2023
5.0.0 666,137 1/4/2023
5.0.0-rc01 2,802 12/14/2022
4.0.2 275,090 6/11/2022
4.0.2-rc01 773 6/7/2022
4.0.1 7,520 6/7/2022
4.0.1-rc01 734 5/23/2022
4.0.0 162,181 11/15/2021
4.0.0-net6.preview.5 631 6/18/2021
4.0.0-net6.preview.4 380 5/25/2021
4.0.0-net6.preview.3 396 4/24/2021
3.0.5 11,274 6/11/2022
3.0.4 1,225 6/7/2022
3.0.4-beta01 3,429 5/16/2021
3.0.3 75,824 5/9/2021
3.0.3-rc01 894 5/9/2021
3.0.2 8,702 4/24/2021
3.0.2-rc02 885 4/24/2021
3.0.2-rc01 815 4/24/2021
3.0.1 8,918 4/4/2021
3.0.1-rc01 906 4/4/2021
3.0.0 2,781 3/1/2021
2.4.5 19,056 6/11/2022
2.4.4 1,084 6/7/2022
2.4.3 85,157 5/15/2021
2.4.2 1,570 4/24/2021
2.4.2-rc01 892 4/24/2021
2.4.1 1,235 4/4/2021
2.4.1-rc01 909 4/4/2021
2.4.0 5,351 3/1/2021
2.3.3-beta05 1,010 1/28/2021
2.3.2 11,603 11/14/2020
2.3.1 23,292 9/24/2020
2.3.0 16,228 9/20/2020
2.2.2 10,363 7/13/2020
2.2.1 16,882 5/22/2020
2.2.0 4,318 3/8/2020
2.1.0 2,532 1/22/2020
2.0.4 1,322 1/19/2020
2.0.3 1,607 1/5/2020
2.0.3-RC04 1,151 12/28/2019
2.0.3-RC03 1,246 12/28/2019
2.0.3-RC02 1,087 12/22/2019
2.0.2 2,165 12/17/2019
2.0.1 1,543 11/14/2019
2.0.0 1,635 11/11/2019
1.3.5 2,632 6/11/2022
1.3.4 1,458 6/7/2022
1.3.3 2,623 5/15/2021
1.3.2 1,201 4/24/2021
1.3.2-rc01 962 4/24/2021
1.3.1 1,222 4/4/2021
1.3.1-rc01 1,024 4/4/2021
1.3.0 4,475 3/1/2021
1.2.1 6,598 11/14/2020
1.2.0 1,538 9/20/2020
1.1.2 3,129 7/13/2020
1.1.1 1,605 5/22/2020
1.1.0 6,904 3/8/2020
1.0.7 3,461 1/19/2020
1.0.6 1,428 1/5/2020
1.0.6-RC04 1,311 12/28/2019
1.0.6-RC02 1,192 12/22/2019
1.0.5 1,825 12/17/2019
1.0.4 12,702 11/14/2019
1.0.3 1,523 11/11/2019
1.0.2 2,551 10/27/2019
1.0.1 2,327 10/20/2019
1.0.0 1,877 10/20/2019