Executes a query against the PostgreSQL database and returns the results as a DataSet.
- Namespace
- DbSyncKit
.PostgreSQL - Containing Type
- Connection
- Implements
Syntax
public DataSet ExecuteQuery(string query, string tableName)
Parameters
Name | Type | Description |
---|---|---|
query | string | The SQL query to execute. |
tableName | string | The name to assign to the resulting table within the DataSet. |
Return Value
Type | Description |
---|---|
DataSet | A DataSet containing the results of the query. |