DocumentClient Linq to SQL
See original GitHub issueI’m struggling to create a query… I want to use Linq extension methods (e.g. .Where()
, .Select()
) but it seems this API was removed. However documentation seems to not acknowledge this in a straightforward way, nor give an indication as to the plan…
If I look at docs for the v2 API it says it is deprecated. v3 is in preview and obviously incomplete. Where does that leave me?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
DocumentQueryable.CreateDocumentQuery Method
The DocumentDB LINQ provider compiles LINQ to SQL statements. Refer to https://azure.microsoft.com/documentation/articles/documentdb-sql-query ...
Read more >Extract sql query from LINQ expressions
Is it possible to extract sql statements from LINQ queries ? Say, I have this LINQ expression. ... After this statement 'results' is...
Read more >DocumentClient.CreateDocumentQuery Method
This method creates a query for documents under a collection in an Azure Cosmos DB database using a SQL statement with parameterized values....
Read more >DocumentDB SQL - Linq to SQL Translation
String Functions − Supports translation from .NET's Concat, Contains, EndsWith, IndexOf, Count, ToLower, TrimStart, Replace, Reverse, TrimEnd, StartsWith, ...
Read more >LinqPad CosmosDb Data Context Driver Update - Part 1
A while back I created a CosmosDb data context driver for LinqPad. ... not support a query that is a mixture of raw...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Visiting https://docs.microsoft.com/en-us/previous-versions/azure/dn850285(v=azure.100) (linked to from Cosmos .NET Samples) I read the banner:
So, “deprecated” was an imprecise word on my part. The impression is that v2 is not a good choice for new development. Meanwhile v3 is in progress, and it is not clear what its state is. (As you probably know the release notes are empty).
Thanks for providing the reference to the project page; that is cool. That is the first reference I’ve seen to that.
I would ask not that your team “code faster”, but “communicate better”.
V3 will get linq support. It’s listed in the notes of the GA Project. We are working on getting full query support with integration into the handler pipeline first.