title: Which one is optimal to use DbFactory or IDbConnection in order to create a generic database helper class
body: <p>Hi 
  I developing a common helper component for database access, so that one can use it any database server he wants, that is basically supported by ADO.Net. Earlier I was using IDbConnection for that purpose. But I came across DbFactory class that has built in provider specific functionalities, so no need to re-invent the wheel. </p>
  
  <p>But in MSDN forum i found a discussion that DbFactory has some performance issues , when it was used under loops. So that guy finally switched to IDbConnection.</p>
  
  <p>So , I just want to know, which one will be good to implement and in what aspects like speed, re-usability, Exception handling and extendibility etc.</p>
  
  <p>Please , inform if missing anything or is not clear... thanks in advance.</p>