SqlStatementAdapter.

AdaptSqlFile(string, Encoding) Method

Summary

Adapts a set of Sql statements from a string.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Util
Containing Type
SqlStatementAdapter

Syntax

public string AdaptSqlFile(string file, Encoding encoding)

Parameters

Name Type Description
file string Path of file containing all sql statements
encoding Encoding The encoding of the file containing the SQL statements.

Return Value

Type Description
string The new instance