Creates documents from a SQL query given the specified connection string and query.
- Namespace
- Statiq
.Core - Containing Type
- ReadSql
Syntax
public ReadSql(string connectionString, string sql)
Parameters
| Name | Type | Description |
|---|---|---|
| connectionString | string | The connection string. |
| sql | string | The SQL query. |