How can I set multiple filters on a Azure Table Storage?
This is what I\'ve tried:
string partitionFilter = TableQuery.GenerateFilterCondition(\"Partitio
First "and" your partition filter with one of the date filters, then "and" the intermediate result with the other date filter.
string date1 = TableQuery.GenerateFilterConditionForDate(
"Date", QueryComparisons.GreaterThanOrEqual,
DateTimeOffsetVal);
string date2 = TableQuery.GenerateFilterConditionForDate(
"Date", QueryComparisons.LessThanOrEqual,
DateTimeOffsetVal);
string finalFilter = TableQuery.CombineFilters(
TableQuery.CombineFilters(
partitionFilter,
TableOperators.And,
date1),
TableOperators.And, date2);