I\'ve literally just started using the Unity Application Blocks Dependency Injection library from Microsoft, and I\'ve come unstuck.
This is my IoC class that\'ll ha
You can configure the unity container for this:
IUnityContainer container = new UnityContainer() .RegisterType( new InjectionConstructor("connectionstring goes here"));
in XLM that would probably be something like this:
or wrap the connectionstring as mcaaltuntas points out.