Search Results for

    Show / Hide Table of Contents

    Method LoadFromDirectories

    | Improve this Doc View Source

    LoadFromDirectories(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

    directories is null.

    ArgumentException

    One or more directories in directories is null, empty or consists only of white-space characters.

    AggregateException

    If the parser and/or loader encounters one or more errors.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 YeSQL.NET