How can I set multiple filters on a Azure Table Storage?
This is what I\'ve tried:
string partitionFilter = TableQuery.GenerateFilterCondition(\"Partitio
Just wanted to add one more answer.
string filter = "PartitionKey eq 'partition1' and Date ge datetime'31-8-2013T14:15:14Z' and Date lt datetime'31-8-2013T14:19:10Z'";
TableQuery query = new TableQuery().Where(filter).Take(5);
The reason code above is failing is because the date/time value must be entered in yyyy-MM-ddTHH:mm:ssZ
format. So your query should be:
string filter = "(PartitionKey eq 'partition1') and (Date ge datetime'2013-08-31T14:15:14Z' and Date lt datetime'2013-08-31T14:19:10Z')";
TableQuery query = new TableQuery().Where(filter).Take(5);