Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Making a combined filter for Azure table storage.
string filter1 = TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, "Argentina");
string filter2 = TableQuery.GenerateFilterCondition("Name", QueryComparisons.Equal, "Guillermo");
string combinedFilter = TableQuery.CombineFilters(filter1, TableOperators.And, filter2);
TableQuery query = new TableQuery().Where(combinedFilter);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment