Search Results for

    Show / Hide Table of Contents

    Method TryGetStatement

    | Improve this Doc View Source

    TryGetStatement(String, out String)

    Gets the SQL statement associated with the specified tag.

    Declaration
    bool TryGetStatement(string tagName, out string sqlStatement)
    Parameters
    Type Name Description
    String tagName

    The tag of the SQL statement to get.

    String sqlStatement

    When this method returns, contains the SQL statement associated with the specified tag, if the tag is found; otherwise, the default value for the type of the sqlStatement parameter. This parameter is passed uninitialized.

    Returns
    Type Description
    Boolean

    true if the ISqlCollection contains a SQL statement with the specified tag; otherwise, false.

    Exceptions
    Type Condition
    ArgumentNullException

    tagName is null.

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