Method LoadFromDirectories
| Improve this Doc View SourceLoadFromDirectories(String[])
Loads the SQL statements from all the SQL files in the specified directories.
Declaration
public ISqlCollection LoadFromDirectories(params string[] directories)
Parameters
| Type | Name | Description |
|---|---|---|
| String[] | directories | A set of directories where the SQL files are located. |
Returns
| Type | Description |
|---|---|
| ISqlCollection | A collection containing the tags with their associated SQL statements. |
Remarks
The directories parameter can include the absolute or relative path along with the directory 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 directories in |
| AggregateException | If the parser and/or loader encounters one or more errors. |