devlooped/TableStorage

Add support for querying

Closed this issue · 0 comments

kzu commented

There is fairly capable querying capability for the table storage service. We should provide something similar (mostly identical?) to the LINQ support to be competitive, while still preserving the POCO-ness of our abstractions.

The goal is to support the following syntax:

await foreach (var info in from book in repo.CreateQuery()
                           where book.Author == "Rick Riordan" && book.Format == "Hardback" && book.IsPublished
                           select new { book.ISBN, book.Title })
{
  Console.WriteLine($"Found {info.Title} by Rick Riordan (ISBN: {info.ISBN}).");
}

Back this issue
Back this issue