title: Auto Map reference not found C#
body: <pre><code>while (rdr.Read())
  {
      List&lt;PackageDetailFile&gt; pkgFiles = rdr.AutoMap &lt;PackageDetailFile&gt; ().ToList(); 
      foreach (PackageDetailFile pkgf in pkgFiles)
      {
           PackageDetail pkgd = getPackageDetail((long)pkgf.PackageDetailId);
      }
  </code></pre>
  
  <p>I have an error like:</p>
  
  <blockquote>
    <p>'System.Data.SqlClient.SqlDataReader' does not contain a definition for 'AutoMap' and no extension method 'AutoMap' accepting a first argument of type 'System.Data.SqlClient.SqlDataReader' could be found (are you missing a using directive or an assembly reference?)</p>
  </blockquote>
  
  <p>and I can't find the AutoMap reference.</p>