EntityFrameworkCore.Testing.Moq 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.Moq --version 1.3.0
                    
NuGet\Install-Package EntityFrameworkCore.Testing.Moq -Version 1.3.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="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EntityFrameworkCore.Testing.Moq" Version="1.3.0" />
                    
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 1.3.0
                    
#r "nuget: EntityFrameworkCore.Testing.Moq, 1.3.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.
#addin nuget:?package=EntityFrameworkCore.Testing.Moq&version=1.3.0
                    
Install EntityFrameworkCore.Testing.Moq as a Cake Addin
#tool nuget:?package=EntityFrameworkCore.Testing.Moq&version=1.3.0
                    
Install EntityFrameworkCore.Testing.Moq 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, FromSql, ExecuteSqlCommand, 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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
9.0.1 30,197 5 months ago
9.0.1-rc01 92 5 months ago
9.0.0 957 5 months ago
9.0.0-rc02 86 5 months ago
9.0.0-rc01 86 5 months ago
8.1.1 29,735 5 months ago
8.1.0 1,436 5 months ago
8.1.0-rc01 86 5 months ago
8.0.0 194,269 11/24/2023
8.0.0-rc01 458 11/19/2023
5.0.0 576,723 1/4/2023
5.0.0-rc01 2,636 12/14/2022
4.0.2 257,139 6/11/2022
4.0.2-rc01 638 6/7/2022
4.0.1 7,204 6/7/2022
4.0.1-rc01 604 5/23/2022
4.0.0 158,013 11/15/2021
4.0.0-net6.preview.5 503 6/18/2021
4.0.0-net6.preview.4 244 5/25/2021
4.0.0-net6.preview.3 269 4/24/2021
3.0.5 11,001 6/11/2022
3.0.4 1,085 6/7/2022
3.0.4-beta01 3,260 5/16/2021
3.0.3 59,161 5/9/2021
3.0.3-rc01 718 5/9/2021
3.0.2 8,561 4/24/2021
3.0.2-rc02 717 4/24/2021
3.0.2-rc01 650 4/24/2021
3.0.1 8,755 4/4/2021
3.0.1-rc01 780 4/4/2021
3.0.0 2,595 3/1/2021
2.4.5 16,615 6/11/2022
2.4.4 902 6/7/2022
2.4.3 84,912 5/15/2021
2.4.2 1,410 4/24/2021
2.4.2-rc01 752 4/24/2021
2.4.1 1,096 4/4/2021
2.4.1-rc01 737 4/4/2021
2.4.0 5,167 3/1/2021
2.3.3-beta05 795 1/28/2021
2.3.2 11,397 11/14/2020
2.3.1 22,886 9/24/2020
2.3.0 15,982 9/20/2020
2.2.2 9,760 7/13/2020
2.2.1 16,594 5/22/2020
2.2.0 4,138 3/8/2020
2.1.0 2,367 1/22/2020
2.0.4 1,143 1/19/2020
2.0.3 1,411 1/5/2020
2.0.3-RC04 979 12/28/2019
2.0.3-RC03 1,071 12/28/2019
2.0.3-RC02 912 12/22/2019
2.0.2 1,948 12/17/2019
2.0.1 1,342 11/14/2019
2.0.0 1,398 11/11/2019
1.3.5 2,429 6/11/2022
1.3.4 1,147 6/7/2022
1.3.3 2,373 5/15/2021
1.3.2 955 4/24/2021
1.3.2-rc01 770 4/24/2021
1.3.1 1,023 4/4/2021
1.3.1-rc01 794 4/4/2021
1.3.0 3,912 3/1/2021
1.2.1 6,325 11/14/2020
1.2.0 1,353 9/20/2020
1.1.2 2,905 7/13/2020
1.1.1 1,439 5/22/2020
1.1.0 6,674 3/8/2020
1.0.7 3,196 1/19/2020
1.0.6 1,232 1/5/2020
1.0.6-RC04 1,024 12/28/2019
1.0.6-RC02 954 12/22/2019
1.0.5 1,544 12/17/2019
1.0.4 12,487 11/14/2019
1.0.3 1,276 11/11/2019
1.0.2 2,342 10/27/2019
1.0.1 2,141 10/20/2019
1.0.0 1,429 10/20/2019