Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created December 20, 2012 01:04
Show Gist options
  • Save sandrinodimattia/4342172 to your computer and use it in GitHub Desktop.
Save sandrinodimattia/4342172 to your computer and use it in GitHub Desktop.
var ctx = new Microsoft.WindowsAzure.Storage.Table.DataServices.TableServiceContext(table.ServiceClient);
var query = ctx.CreateQuery<BlogPostTableServiceEntity>("ChronoTableStorageSample")
.Where(QueryDateReverseChronologicalComparisons.After,
DateTime.Parse("2012-12-10 00:00:00"));
foreach (var blogPost in query)
{
Console.WriteLine("{0:yyyy-MM-dd}: {1}", blogPost.PublishedOn, blogPost.Title);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment