SqlStatementList Class

Summary

Helper class to maintain a list of SQL Statements.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Util
Interfaces
  • IEnumerable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEnumerable"] Type["SqlStatementList"] class Type type-node

Syntax

public class SqlStatementList : IEnumerable

Constructors

Name Summary
SqlStatementList(string, DelimiterStyle) Initializes a new instance.

Properties

Name Value Summary
Count int
Gets the number of statements in the list.
Properties PropertyDictionary
Project's properties for property expansion
this[int] string
Gets the statement specified by the index.

Methods

Name Value Summary
GetEnumerator() IEnumerator
Allows foreach().
ParseSql(string) void
Parses the SQL into the internal list using the specified delimiter and delimiter style
ParseSqlFromFile(string, Encoding) void
Parses the contents of the file into the internal list using the specified delimiter and delimiter style