How to Test Entity Framework Code with IDbContext and Moq
A legacy Entity Framework Core example that wraps DbContext in an interface and verifies writes with Moq, plus current testing guidance.
1 note in this thread.
A legacy Entity Framework Core example that wraps DbContext in an interface and verifies writes with Moq, plus current testing guidance.