Search Results for

    Show / Hide Table of Contents

    Class FormattableSqlStringBuilder

    Allows for a safe string interpolated SQL concatenation.

    Inheritance
    Object
    FormattableSqlStringBuilder
    Namespace: Venflow
    Assembly: Venflow.dll
    Syntax
    public class FormattableSqlStringBuilder : object

    Constructors

    | Improve this Doc View Source

    FormattableSqlStringBuilder()

    Initializes a new instance of the FormattableSqlStringBuilder class.

    Declaration
    public FormattableSqlStringBuilder()

    Methods

    | Improve this Doc View Source

    Append(String)

    Appends a copy of the specified SQL to this instance.

    Declaration
    public void Append(string sql)
    Parameters
    Type Name Description
    String sql

    The SQL to append.

    Remarks

    This method IS NOT string interpolation safe, if you want to use string interpolated SQL use the AppendInterpolated(FormattableString) method.

    | Improve this Doc View Source

    AppendInterpolated(FormattableString)

    Appends a copy of the specified SQL to this instance.

    Declaration
    public void AppendInterpolated(FormattableString sql)
    Parameters
    Type Name Description
    FormattableString sql

    The SQL to append.

    Remarks

    This method is string interpolation safe.

    | Improve this Doc View Source

    AppendInterpolatedLine(FormattableString)

    Appends a copy of the specified SQL followed by the default line terminator to the end of the current FormattableSqlStringBuilder object.

    Declaration
    public void AppendInterpolatedLine(FormattableString sql)
    Parameters
    Type Name Description
    FormattableString sql

    The SQL to append.

    Remarks

    This method is string interpolation safe.

    | Improve this Doc View Source

    AppendLine(String)

    Appends a copy of the specified SQL followed by the default line terminator to the end of the current FormattableSqlStringBuilder object.

    Declaration
    public void AppendLine(string sql)
    Parameters
    Type Name Description
    String sql

    The SQL to append.

    Remarks

    This method IS NOT string interpolation safe, if you want to use string interpolated SQL use the AppendInterpolatedLine(FormattableString) method.

    Theme

    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 Twenty