title: How to create a auto incremented column in Documentdb
body: <p>I want to create a document in azure documentdb with an auto-increment column.</p>
  
  <p>Is this possible? If yes, please guide me.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <pre><code>Database db = CreateOrReadDocumentDb("EmployeeDb").Result;
  DocumentCollection dc = CreateOrReadDocumentCollection(db.SelfLink, "EmployeeDetails").Result;
  Employee emp = new Employee();
  emp.Name="ABC";
  emp.id="";//automatically generate a unique string
  emp.sal=10000;
  emp.exp =5;
  emp.index=0; // I want an auto increment column for emp with name index and want to store in azure document db
   client.CreateDocumentAsync(collectionLink, data);
  </code></pre>