Search Results for

    Show / Hide Table of Contents

    Method LoadFromFiles

    | Improve this Doc View Source

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

    sqlFiles is null.

    ArgumentException

    One or more files in sqlFiles 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