SqlHelper Class

Summary

Helper class used to execute Sql Statements.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Util
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SqlHelper"] class Type type-node

Syntax

public class SqlHelper

Constructors

Name Summary
SqlHelper(string, bool) Initializes a new instance.

Properties

Name Value Summary
Connection OleDbConnection
OleDB Connection object

Methods

Name Value Summary
Close(bool) void
Close the connection and terminate
Execute(string, int) IDataReader
Executes a SQL statement.