title: Unable to execute cypher statement
body: <p>I am using VS 2013 and the Neo4j client in an MVC application and can't get past building the query.</p>
  
  <p>In the following code, I can connect to my server but on the <code>var newUser</code> line I get an error over the <code>new User</code> statement saying it's a property but used like a type, that can bee seen in this screen shot:</p>
  
  <p><img src="https://i.stack.imgur.com/ZoIxz.jpg" alt="screeny"></p>
  
  <pre><code>var client = new GraphClient(new System.Uri("http://localhost:7474/db/data"));
  client.Connect();
  
  var newUser = new User { Id = 456, Name = "Jim" };
  client.Cypher
      .Merge("(user:User { Id: {id} })")
      .OnCreate("user")
      .Set("user = {newUser}")
      .WithParams(new
      {
          id = newUser.Id,
          newUser
      })
      .ExecuteWithoutResults();
  </code></pre>
  
  <p>I think I need to add or remove a reference but I a not sure what it is.</p>