MockQueryable.Moq 1.0.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package MockQueryable.Moq -Version 1.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.
dotnet add package MockQueryable.Moq --version 1.0.0
<PackageReference Include="MockQueryable.Moq" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MockQueryable.Moq --version 1.0.0
#r "nuget: MockQueryable.Moq, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MockQueryable.Moq as a Cake Addin
#addin nuget:?package=MockQueryable.Moq&version=1.0.0

// Install MockQueryable.Moq as a Cake Tool
#tool nuget:?package=MockQueryable.Moq&version=1.0.0

Extension for mocking Entity Framework operations such ToListAsync, FirstOrDefaultAsync etc. by Moq
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MockQueryable.Moq:

Package Downloads

Package Description


Package Description


Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on MockQueryable.Moq:

Repository Stars
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
Boilerplate of API in .NET 6
The main repository for all the Code Maze guides
Version Downloads Last updated
6.0.1 356,678 3/28/2022
6.0.0 16,274 3/24/2022
5.0.2 34,129 3/24/2022
5.0.1 1,185,849 5/25/2021
5.0.0 719,655 11/12/2020
5.0.0-preview.7 13,271 7/28/2020
3.1.3 1,117,154 5/19/2020
3.1.2 97,323 4/17/2020
3.1.1 282,934 1/25/2020
3.0.2 40,591 12/20/2019
3.0.1 39,965 10/11/2019
3.0.0 11,774 9/30/2019
1.1.0 450,266 2/28/2019
1.0.4 39,181 1/29/2019
1.0.3 199,996 8/30/2018
1.0.2 56,723 1/17/2018
1.0.1 8,128 12/26/2017
1.0.0 5,560 12/26/2017