Example of testing entity framework with IDbContext and moq4
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example.EntityFramework.Testing.BusinessLogic
Example.EntityFramework.Testing.Data
Example.EntityFramework.Testing.Tests
.gitattributes
.gitignore
Example.EntityFramework.Testing.sln
LICENSE
README.md

README.md

Testing entity framwork code with moq4 and IDbContext

This is some example code for mocking and testing your code that is based on entity framework.

It's mainly for use when working with dependency injections and interfaces for your database. But can be used for other purposes as well.