Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the provider beyond simple SELECT/INSERT/UPDATE/DELETE operations with Azure Cosmos DB.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Azure Cosmos DB, along with an indication of whether the procedure succeeded or failed.
CData ADO.NET Provider for Azure Cosmos DB Stored Procedures
Name | Description |
AddDocument | Insert entire JSON string to CosmosDB. |
CreateSchema | Creates a schema file for the collection. |
GetOAuthAccessToken | Gets the OAuth access token from CosmosDB. |
GetOAuthAuthorizationURL | Gets the CosmosDB authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to CosmosDB. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with CosmosDB. |