Method LoadFromFiles
| Improve this Doc View SourceLoadFromFiles(String[])
Loads the SQL statements from the specified files.
Declaration
public ISqlCollection LoadFromFiles(params string[] sqlFiles)
Parameters
Type | Name | Description |
---|---|---|
String[] | sqlFiles | The SQL files to load. |
Returns
Type | Description |
---|---|
ISqlCollection | A collection containing the tags with their associated SQL statements. |
Remarks
The sqlFiles
parameter can include the absolute or relative path along with the file name.
If the path is relative, the method will start searching from the current directory where the application is running (e.g., bin/Debug/net8.0).
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentException | One or more files in |
AggregateException | If the parser and/or loader encounters one or more errors. |