Avoid singleton pattern using StructureMap with db4o

added by gerpx
2/1/2010 9:45:48 AM

3 Kicks, 122 Views

In this blog post Elliott O'Hara shows us how to avoid contamining your db4o server code with the singleton pattern thanks to StructureMap (a Dependency Injection / Inversion of Control tool for .NET) (sample source code included)