Easily mock Entity Framework with MOQ using either JSON or an ENumerable items.
Learn Entity Framework Core: https://www.learnentityframeworkcore.com/
Entity Framework Core Tutorial: https://entityframeworkcore.com/
Entity Framework 6 Tutorial: https://entityframework.net/
Info
| Version: | 0.0.0.1 |
| Author(s): | Craig Pretorius |
| Last Update: | Friday, September 28, 2018 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/Halceyon/Moq.EF |
| NuGet Url: | https://www.nuget.org/packages/Mock.EntityFramework |
Install
Install-Package Mock.EntityFramework
dotnet add package Mock.EntityFramework
paket add Mock.EntityFramework
Mock.EntityFramework Download (Unzip the "nupkg" after downloading)
Dependencies
- EntityFramework(>= 6.2.0)
- Moq(>= 4.10.0)
- Newtonsoft.Json(>= 11.0.2)
Tags