Easy Mock wrapper for mocking EntityFrameworkCore 3 (EFCore3) DbContext and DbSet using NSubstitute.
Learn Entity Framework Core: https://www.learnentityframeworkcore.com/
Entity Framework Core Tutorial: https://entityframeworkcore.com/
Entity Framework 6 Tutorial: https://entityframework.net/
Info
Version: | 2.1.0 |
Author(s): | Wouter Huysentruit, Paul Michaels |
Last Update: | Friday, August 6, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/cup-of-tea-dot-be/entity-framework-core3-mock |
NuGet Url: | https://www.nuget.org/packages/EntityFrameworkCore3Mock.NSubstitute |
Install
Install-Package EntityFrameworkCore3Mock.NSubstitute
dotnet add package EntityFrameworkCore3Mock.NSubstitute
paket add EntityFrameworkCore3Mock.NSubstitute
EntityFrameworkCore3Mock.NSubstitute Download (Unzip the "nupkg" after downloading)
Dependencies
- EntityFrameworkCore3Mock.Shared(>= 1.0.0.5)
- Castle.Core(>= 4.4.0)
- Microsoft.EntityFrameworkCore(>= 3.0.0)
- NSubstitute(>= 4.2.1)
Tags