The code below retrieves all entities where PartitionKey = "Smith"
.
If I want to eliminate this constraint and return all entities in the table, how should I modify the below code?
Sorry if it seems a silly question, but I am new to C# and AzureDBs, and the tutorials and sample codes are very limited on official site.
TableQuery<CustomerEntity> query = new TableQuery<CustomerEntity>().Where(TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, "Smith"));
foreach (CustomerEntity entity in table.ExecuteQuery(query))
{
Console.WriteLine("{0}, {1}\t{2}\t{3}", entity.PartitionKey, entity.RowKey,
entity.Email, entity.PhoneNumber);
}