DataSourceManagerAPI
The DataSourceManager API
provides functionality for managing external data sources such as databases, REST services, and other third-party providers. It enables seamless access and querying of data across multiple environments, abstracting complex connection management and query execution logic. This API is particularly useful in scenarios where dynamic and diverse data access is required within applications.
Methods
Name | Description |
---|---|
SetUrl(url) | Sets the API URL for requests. |
ExecuteQuery<T>(projectName, queryName, parameters, telemetryCollectorHolder) | Executes a specified query on the data source and returns the result as a typed list. |
GetQueryResultAndStructure(projectName, queryName, parameters, telemetryCollectorHolder) | Executes a specified query on the data source and returns both the result and the structure of the data. |