title: System.Data.SqlClient.SqlConnection does not contain a definition for Query with dapper and c#
body: <p>The following code when compiling gives the error message below:</p>
  
  <blockquote>
    <p>'System.Data.SqlClient.SqlConnection' does not contain a definition
    for 'Query' and no extension method 'Query' accepting a first argument
    of type 'System.Data.SqlClient.SqlConnection' could be found (are you
    missing a using directive or an assembly reference?)</p>
  </blockquote>
  
  <p>I have added Dapper using the nuget packager.</p>
  
  <p>Any ideas?
  Thanks,</p>
  
  <p><strong>CODE:</strong></p>
  
  <pre><code>using (SqlConnection sqlConnection = new SqlConnection(Connectionstring))
  {
      sqlConnection.Open();
      Member customer = sqlConnection.Query&lt;Member&gt;("SELECT * FROM member");
      return customer;
  }
  </code></pre>