Как создать автоматически увеличенный столбец в Documentdb

Я хочу создать документ в Azure DocumentDB с автоинкрементным столбцом.

Это возможно? Если да, пожалуйста, направьте меня.

Любая помощь будет принята с благодарностью.

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);

Ответы на вопрос(1)

Ваш ответ на вопрос