Access Azure Table storage in a defined order—windows-azure-table-design-patterns

Construct the rowkey as follows:

RowKey  = String.Format("{0:D19}", DateTime.MaxValue.Ticks - DateTime.UtcNow.Ticks );

This allows the data to be fetched by putting a row limit on the query.

Setting this to 20 will give the latest 20 items.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s