EntityFrameworkCore.Testing.Moq 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.Moq --version 3.0.0
NuGet\Install-Package EntityFrameworkCore.Testing.Moq -Version 3.0.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.Moq" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Testing.Moq --version 3.0.0
#r "nuget: EntityFrameworkCore.Testing.Moq, 3.0.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.Moq as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Testing.Moq&version=3.0.0

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

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 is compatible.  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. 
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
8.0.0 29,826 11/24/2023
8.0.0-rc01 409 11/19/2023
5.0.0 396,275 1/4/2023
5.0.0-rc01 2,558 12/14/2022
4.0.2 215,206 6/11/2022
4.0.2-rc01 586 6/7/2022
4.0.1 6,331 6/7/2022
4.0.1-rc01 540 5/23/2022
4.0.0 145,876 11/15/2021
4.0.0-net6.preview.5 468 6/18/2021
4.0.0-net6.preview.4 211 5/25/2021
4.0.0-net6.preview.3 227 4/24/2021
3.0.5 10,367 6/11/2022
3.0.4 1,031 6/7/2022
3.0.4-beta01 3,196 5/16/2021
3.0.3 57,323 5/9/2021
3.0.3-rc01 659 5/9/2021
3.0.2 8,445 4/24/2021
3.0.2-rc02 650 4/24/2021
3.0.2-rc01 589 4/24/2021
3.0.1 8,619 4/4/2021
3.0.1-rc01 731 4/4/2021
3.0.0 2,495 3/1/2021
2.4.5 12,081 6/11/2022
2.4.4 855 6/7/2022
2.4.3 84,482 5/15/2021
2.4.2 1,348 4/24/2021
2.4.2-rc01 703 4/24/2021
2.4.1 1,036 4/4/2021
2.4.1-rc01 677 4/4/2021
2.4.0 4,988 3/1/2021
2.3.3-beta05 742 1/28/2021
2.3.2 11,132 11/14/2020
2.3.1 22,477 9/24/2020
2.3.0 15,788 9/20/2020
2.2.2 8,870 7/13/2020
2.2.1 16,251 5/22/2020
2.2.0 3,968 3/8/2020
2.1.0 2,289 1/22/2020
2.0.4 1,081 1/19/2020
2.0.3 1,331 1/5/2020
2.0.3-RC04 916 12/28/2019
2.0.3-RC03 990 12/28/2019
2.0.3-RC02 844 12/22/2019
2.0.2 1,868 12/17/2019
2.0.1 1,265 11/14/2019
2.0.0 1,173 11/11/2019
1.3.5 2,194 6/11/2022
1.3.4 1,066 6/7/2022
1.3.3 2,105 5/15/2021
1.3.2 896 4/24/2021
1.3.2-rc01 718 4/24/2021
1.3.1 964 4/4/2021
1.3.1-rc01 738 4/4/2021
1.3.0 3,844 3/1/2021
1.2.1 6,255 11/14/2020
1.2.0 1,287 9/20/2020
1.1.2 2,609 7/13/2020
1.1.1 1,353 5/22/2020
1.1.0 6,583 3/8/2020
1.0.7 3,111 1/19/2020
1.0.6 1,145 1/5/2020
1.0.6-RC04 951 12/28/2019
1.0.6-RC02 873 12/22/2019
1.0.5 1,455 12/17/2019
1.0.4 11,523 11/14/2019
1.0.3 1,210 11/11/2019
1.0.2 1,595 10/27/2019
1.0.1 2,067 10/20/2019
1.0.0 1,254 10/20/2019