title: Enterprise Library Unity and Data access block
body: <p>I'm learning Enterprise Library DAL.  </p>
  
  <p>As I understand I can access my data via
  Database db = DatabaseFactory.CreateDatabase();<br>
  and also via unity container resolver.  </p>
  
  <p>What I don't understand why I need unity container if I can do the same using the DatabaseFactory?<br>
   What are the advantages of using unity?</p>