locked
Recent change in Table Storage behaviour? RRS feed

  • Question

  • Hi
    Suddenly our select statement doesn't give the same result as before.

    Old Code style:

    public IEnumerable<XEntity> Select(string key)
    {
       var queryResults= from s in
       mServiceContext.XTable
       where s.Key== key
       select s;
       
       return queryResults;
    }


    Changed code that is working:

    public IEnumerable<XEntity> Select(string key)
    {
       var results = from s in
       mServiceContext.XTable
       where s.Key== key
       select s;
       var query = results.AsTableServiceQuery<XEntity>();
       var queryResults = query.Execute(); 
                
       return queryResults;
    }

    Any idea why this has happened? The first time we saw it (around 2012-05-16), it was different behaviour in different storage accounts.

    Best Regards

    Tommy

    Tuesday, July 3, 2012 4:33 PM

Answers

All replies