title: Generic DataReader combined with Generic resultset processor
body: <p>I am looking to solve the following issue using two generic entities, namely (and symbolically expressed), <code>GetItems&lt;SomeReaderType&gt;()</code> and <code>ProcessItems&lt;SomeProcessorType&gt;()</code>.</p>
  
  <p><code>GetItems&lt;SomeReaderType&gt;()</code> should create an object for each row in a <code>datareader</code>.</p>
  
  <p><code>ProcessItems&lt;SomeProcessorType&gt;()</code> should process each object created by the <code>datareader</code>.</p>
  
  <p>My example does not include implementation because I would like to (and don't know how to): </p>
  
  <ol>
  <li><p>Have the type of reader (CSV, Excel, ODBC, whatever...) indicated using some configuration file (? .ini ?) (in other words, a string ('EXCEL') would indicate the source of data .)</p></li>
  <li><p>Have the type of processor SomeProcessor Type ('Executor', 'Documentor', 'Scanner', etc.) be determined in a similar fashion (config / .ini file).</p></li>
  </ol>