
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...
2015, Dec 29 — 4 minute read