title: DocumentDB: get all documents of same entity type
body: <p>I'm storing documents of several different types (entity types?) in a single collection. What would be the best way get all documents of a certain type (like you would do with <code>select *</code> from a table).</p>
  
  <p>Options I see so far:</p>
  
  <ol>
  <li>Include the type as a property. But that would mean a looking into every document when getting the documents, right?</li>
  <li>Prepend the type name to the document id and try searching by id with <code>typename*</code>.</li>
  </ol>
  
  <p>Is there a better way to do this?</p>