title: Unable to create a constant value. Only primitive types
body: <pre><code>dbEntities db = new dbEntities();
  foreach (ttCategory c in db.ttCategories)
  {
      var tags=(from t in db.ttproduktes where t.ttCategories.Contains(c) select t.ttTags);
      foreach (ttTag t in tags)  // here it says:
                                 // Unable to create a constant value - only primitive types
      {
         t.ToString();
      }
  }
  </code></pre>
  
  <p>What am i doing wrong?</p>