so I went ahead and cooked one up:
The screencast walks you through creating a console application that uses the Enterprise Library 4.0 Data Access Application Block for use with Unity. I show how to obtain database classes using Unity.Resolve<Database> as well as how to inject the database classes into your custom classes ( CustomerDAO in this case ).
I discuss a couple of the Unity Extension Classes, EnterpriseLibraryCoreExtension and DataAccessBlockExtension, and jump into Reflector to show you what the DataAccessBlockExtension is doing behind the scenes.
You might want to take a peek at my article on the DatabaseConfigurationView Class to get more information on how the DataAccessBlockExtension gets access to the Data Access Application Block Configuration Information to populate the UnityContainer:
I hope the screencast is useful. Feel free to browse through any of the other screencasts as well.