Summary
Executes a SQL statement.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Util - Containing Type
- SqlHelper
Syntax
public IDataReader Execute(string sql, int cmdTimeout)
Parameters
| Name | Type | Description |
|---|---|---|
| sql | string | SQL statement to execute |
| cmdTimeout | int | Command timeout to use |
Return Value
| Type | Description |
|---|---|
| IDataReader | Data reader used to check the result |
