Created
April 19, 2015 22:06
-
-
Save gbellmann/7b33f961a583e2f6c6f4 to your computer and use it in GitHub Desktop.
Making a combined filter for Azure table storage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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