title: How to insert nvarchar value in a query string
body: <p>I have a query string which is </p>
  
  <pre><code>   var projectid = sqlConn.Query&lt;int&gt;("insert into project (name,customer_id, service_id,user_id) values (@name,@customerid,@serviceid,@userid);SELECT SCOPE_IDENTITY(); ", new { name = Name, customerid = Customer, serviceid = Service, userid = userId }).Single();
  </code></pre>
  
  <p>where name is a nvarchar field. Now I know I need to use 'N' character and I have tried the followings</p>
  
  <pre><code>'N@name'
  N'@name'
  </code></pre>
  
  <p>but it doesn't seem to work. Can anyone help me with this please?</p>