Azure CosmosDb and CosmosDbTables: any working drivers in any version of LinqPad?
I've tried all the LinqPad6 candidates and can't get them to work with the current version of CosmosDb/Tables. Is there a working one in another version? I did get pure C# access to my CosmosDB, but it is verbose and inconvenient... Who has a driver? Thanks!
Comments
Right now, there's no third-party LINQPad driver for CosmosDB, AFAIK.
When you say using it directly from C# is inconvenient, can you give an example? I might be able to suggest ways that you can simplify the code.
Thanks, well, directly from C# is roughly the same as the code I write in VisualStudio2019 to access the CosmosDB. Normally, LinqPad with a driver makes this process transparent and trivial.
My approach is similar to this one https://gist.github.com/stuarthallows/999db511fc80c4d9891265088ac3e271
My code is longer since I have many more types in my models/tables and query types that I'd like to support.
If you have anything simpler, let us know. Thanks!