Unit testing MongoDB in C# part 3: the database factories

Welcome to the third article of the series! Last time I was talking about the database context and at how I injected a Factory to create the repositories. Of course we could have injected every single repository in the cTor, but this way adding a new collection to the database would force too many changes. Injecting just the […]

Categories: .NET, MongoDB, Programming, Software Architecture, Testing

© 2019 Davide Guida

Theme by Anders NorenUp ↑