title: Problem with Npgsql Prepare
body: <p>I'm trying to insert a row into a PostgreSQL through an application with C#. Following the steps showed in <a href="http://npgsql.projects.postgresql.org/docs/manual/UserManual.html" rel="nofollow">Npgsql project homepage</a>, I tryied to build a prepared statement in order yo insert a row in the table. I got this:</p>
  
  <pre><code>NpgsqlConnection conn = dbConn.getConnection();
  conn.Open();
  NpgsqlCommand query = new NpgsqlCommand("insert into table(c1, c2) values(:v1, :v2)", conn);
  query.Parameters.Add(new NpgsqlParameter("v1", NpgsqlDbType.Varchar));
  query.Parameters.Add(new NpgsqlParameter("v2", NpgsqlDbType.Text));
  query.Prepare();
  query.Parameters[0].Value = "something";
  query.Parameters[1].Value = "else";
  </code></pre>
  
  <p>And got this error:</p>
  
  <pre><code>ERROR: 42601: syntax error in or near «:»
  </code></pre>
  
  <p>Any opinion?</p>
  
  <p>thanks in advance</p>