Elfocrash / Cosmonaut

🌐 A supercharged Azure CosmosDB .NET SDK with ORM support
https://cosmonaut.readthedocs.io
MIT License
341 stars 44 forks source link

Call stored procedure #50

Closed rhalaly closed 5 years ago

rhalaly commented 5 years ago

First of all, I really like this project :).

How can we call a stored procedure with this library? I didn't see any interface in the docs or in ComsosStorage.

Elfocrash commented 5 years ago

Thanks for your kind words.

You can call a Stored Procedure by using the CosmonautClient class. This class is a client that can be initialised on it own but it is the client that the CosmosStore is using behind the scenes and you can access that by using store.CosmonautClient.

rhalaly commented 5 years ago

Thanks, I will try it!