Last post May 26, 2017 01:26 PM by PatriceSc
May 26, 2017 07:17 AM|RamThilak|LINK
can i use normal sql query to consume data from document db(COSMOS DB)
without using LINQ in mvc?
May 26, 2017 01:26 PM|PatriceSc|LINK
Really new to that but AFAIK yes:
https://docs.microsoft.com/en-us/azure/documentdb/documentdb-sql-query (edit: my understanding is that Cosmos Db is precisely a distributed database that can be accessed using a bunch of distinct APIs).
Anyway LINQ is never required. It is a way to bring queries into C# but ultimately it always have to be translated into a lower level API that access the underlying store (though not necessarily SQL) and you are always to tap directly into this lower level
API if you prefer.