Is it possible to repeat the RowKey in an Azure table, which is structured as follows?
string.Format("{0:d19}", DateTime.MaxValue.Ticks - DateTime.UtcNow.Ticks)
The same can be set:
Will my webrole create two entries before we get a new value for Ticks?
I want to return objects in reverse chronological order. It is expected that new entities will not be constantly added to this table, but hopefully there will be many insert transactions.
Decision
OK, this is the solution I came across thanks to Mark Simen:
string.Format ("{0: d19} + {1}", DateTime.MaxValue.Ticks - DateTime.UtcNow.Ticks, Guid.NewGuid (). ToString ("N"))
Using Guid, I know for sure that rowkey will not be repeated.
source share