Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Stuart Leeks
Stuart Leeks - Application Development Consultant
This Blog
About
Email
Syndication
RSS 2.0
Atom 1.0
Search
Tags
ADO.Net Data Services
Batch file
CSharp
Debugging
Extension methods
LINQ
Outlook
PowerShell
Unity
Utilities
Visual Studio
News
These postings are provided "AS IS" with no warranties, and confer no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Archives
August 2009 (6)
July 2009 (1)
April 2009 (1)
March 2009 (1)
January 2009 (2)
September 2008 (2)
August 2008 (2)
July 2008 (3)
May 2008 (3)
January 2009 - Posts
Friday, January 09, 2009 1:21 PM
Creating database connections with Unity – part 2
Last time we looked at how to set up the configuration file so that Unity would wire up an object that took an IDbConnection parameter in its constructor. Whilst the solution works, it is easy for the various connection strings to become buried away in
Posted by
stuartle
|
3 Comments
Filed under:
CSharp
,
Unity
Thursday, January 08, 2009 10:09 PM
Creating database connections with Unity
I was adding dependency injection to an existing project and opted to use Unity configured via the application configuration file. As I was running through the configuration, I hit a type that required a database connection which it took in as an
Posted by
stuartle
|
3 Comments
Filed under:
CSharp
,
Unity