title: Unable to create a constant value of type (type) Only primitive types when i try to filter by concatened strings
body: <p>I want to filter users by their full name with linq to sql:</p>
  
  <pre><code>string agentName = "Jhone Doe TheFirst";
  
  
  db.User.Where(a =&gt; agentName == (a.Person.Name+ ' ' + 
                                   a.Person.FirstName + ' ' + 
                                   a.Person.LastName).ToString() 
                      &amp;&amp; !a.Deleted)
  </code></pre>
  
  <p>But when I execute this comand, an execption is thrown:</p>
  
  <blockquote>
    <p>Unable to create a constant value of type (type) Only primitive types
    ('such as Int32, String, and Guid') are supported.</p>
  </blockquote>
  
  <p>It's not posible to concat the strings?</p>
  
  <p>How can I filter the users by the person full name?</p>
  
  <p>Its linq to sql, so I can't create a method that returns the full name of the person and do a <code>Person.GetFullName()</code></p>