Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) 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.4.0 |
Author(s): | Wouter Huysentruit, Paul Michaels |
Last Update: | Monday, February 7, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/cup-of-tea-dot-be/entity-framework-core-mock |
NuGet Url: | https://www.nuget.org/packages/EntityFrameworkCoreMock.NSubstitute |
Install
Install-Package EntityFrameworkCoreMock.NSubstitute
dotnet add package EntityFrameworkCoreMock.NSubstitute
paket add EntityFrameworkCoreMock.NSubstitute
EntityFrameworkCoreMock.NSubstitute Download (Unzip the "nupkg" after downloading)
Dependencies
net5.0
- EntityFrameworkCoreMock.Shared(>= 2.0.0.107)
- Castle.Core(>= 4.4.1)
- Microsoft.EntityFrameworkCore(>= 5.0.0)
- NSubstitute(>= 4.2.2)
- EntityFrameworkCoreMock.Shared(>= 2.0.0.107)
- Castle.Core(>= 4.4.1)
- Microsoft.EntityFrameworkCore(>= 5.0.0)
- NSubstitute(>= 4.2.2)
Tags