That's a nice approach indeed. However, for those cases where it's important to validate the interaction with the database, I would stick with what I have proposed in my article. For other cases, the EF Core in-memory implementation might be enough. Using a NuGet package that doesn't have at least a 1.0 release is something I try to avoid. But maybe, when your package becomes more mature, I migh change my mind.

--

--

Dennis "The Continuous Improver" Doomen
Dennis "The Continuous Improver" Doomen

Written by Dennis "The Continuous Improver" Doomen

Dennis is a veteran architect in the .NET space with a special interest in writing clean code, Domain Driven Design, Event Sourcing and everything agile.

No responses yet