Learn Entity Framework Core: https://www.learnentityframeworkcore.com/
Entity Framework Core Tutorial: https://entityframeworkcore.com/
Entity Framework 6 Tutorial: https://entityframework.net/
Info
Version: | 7.0.4-beta |
Author(s): | Roman Titov |
Last Update: | Tuesday, September 24, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/romantitov/MockQueryable |
NuGet Url: | https://www.nuget.org/packages/MockQueryable.EntityFrameworkCore |
Install
Install-Package MockQueryable.EntityFrameworkCore
dotnet add package MockQueryable.EntityFrameworkCore
paket add MockQueryable.EntityFrameworkCore
MockQueryable.EntityFrameworkCore Download (Unzip the "nupkg" after downloading)
Dependencies
- MockQueryable.Core(>= 5.0.0)
- Microsoft.EntityFrameworkCore(>= 5.0.0)
Tags
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.