title: C# DynamicLinq where clause with Any()
body: <p>I want to run dynamic linq with a string where clause like this:</p>
  
  <pre><code>query = db.Customers.Where("Categories.Any(Code == 'Retail')");
  </code></pre>
  
  <p>Customer entity has collection of categories</p>
  
  <pre><code>class Customer
  {
      public List&lt;Category&gt; Categories {get;set;}
      ...
  }
  
  class Category
  {
      public Guid Id {get;set;}
      public string Code {get;set;}
  }
  </code></pre>
  
  <p>Can anyone please tell me is it possible to do something like this?</p>
  
  <p>PS: I need where clause be string. The where clause will be generated at runtime, for this reason I can't use Linq query expression.</p>
  
  <p>I'm using Telerik DataAccess.</p>