title: querying complex type in Azure Table
body: <p>I am new to NoSql concepts. Coming from a mind set of "ModelFirst" i usually design my models first. I have a model as follows.</p>
  
  <pre><code>public class Book
  {
      public string Name { get; set; }
      [EntityPropertyConverter(typeof(Category))]
      public List&lt;Category&gt; Categories { get; set; }
  }
  public class Category
  {
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>Student class is a complex type and </p>
  
  <pre><code>[EntityPropertyConverter]
  </code></pre>
  
  <p>attribute helps serialize Categories before writing to Azure Table and deserialize when reading back.</p>
  
  <p>A book can belong to more than one categories. My question is if someone has to search a book by one of n number of categories, how can we do that.   </p>
  
  <p>Azure Table supports quires like below</p>
  
  <pre><code>TableQuery.GenerateFilterCondition("Categories", QueryComparisons.Equal, JsonConvert.SerializeObject(???))
  </code></pre>
  
  <p>But with this i cannot get the required result. </p>
  
  <p>please do comment if my overall approach is incorrect. </p>