title: Npgsql AddWithValue not working?
body: <p>I have the following piece of code</p>
  
  <pre><code>cmd.CommandText = "SELECT * FROM product WHERE name LIKE '%@pattern%' OR description LIKE '%@pattern%' OR category LIKE '%@pattern%';";
  cmd.Parameters.AddWithValue("pattern", pattern);
  </code></pre>
  
  <p>This returns an empty resultset in my code.</p>
  
  <p>But if I type the query in PgAdmin like this</p>
  
  <pre><code>SELECT * 
  FROM product 
  WHERE name LIKE '%otter%' 
     OR description LIKE '%otter%' 
     OR category LIKE '%otter%';
  </code></pre>
  
  <p>What am I doing wrong?</p>