Skip to main content
EntityFrameworkCoreMock.Moq package icon

EntityFrameworkCoreMock.Moq

Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using Moq

Total Downloads
1.6M
1,620,035
Published
Feb 10, 2026
Latest stable version

Install

.NET CLI
dotnet add package EntityFrameworkCoreMock.Moq --version 4.0.0
Package Manager Console
Install-Package EntityFrameworkCoreMock.Moq -Version 4.0.0
PackageReference
<PackageReference Include="EntityFrameworkCoreMock.Moq" Version="4.0.0" />

Frameworks

net5.0 net6.0 net8.0 net10.0

Dependencies

Moq
net5.0
[4.20.72, 5.0.0)
Moq
net6.0
[4.20.72, 5.0.0)
Moq
net8.0
[4.20.72, 5.0.0)
Moq
net10.0
[4.20.72, 5.0.0)

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.