DbConnectionPlus API Documentation
Search Results for

    Show / Hide Table of Contents

    Class InterpolatedParameter

    A value, created from an expression in an interpolated string, to be passed to an SQL statement as a parameter.

    Inheritance
    object
    InterpolatedParameter
    Implements
    IEquatable<InterpolatedParameter>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: RentADeveloper.DbConnectionPlus.SqlStatements
    Assembly: RentADeveloper.DbConnectionPlus.dll
    Syntax
    public record InterpolatedParameter : IEquatable<InterpolatedParameter>

    Constructors

    View Source

    InterpolatedParameter(InterpolatedParameter)

    Declaration
    protected InterpolatedParameter(InterpolatedParameter original)
    Parameters
    Type Name Description
    InterpolatedParameter original
    View Source

    InterpolatedParameter(string?, object?)

    A value, created from an expression in an interpolated string, to be passed to an SQL statement as a parameter.

    Declaration
    public InterpolatedParameter(string? InferredName, object? Value)
    Parameters
    Type Name Description
    string InferredName

    The name for the parameter inferred from the expression from which the parameter value was obtained. This is null if no name could be inferred.

    object Value

    The value of the parameter.

    Properties

    View Source

    EqualityContract

    Declaration
    protected virtual Type EqualityContract { get; }
    Property Value
    Type Description
    Type
    View Source

    InferredName

    The name for the parameter inferred from the expression from which the parameter value was obtained. This is null if no name could be inferred.

    Declaration
    public string? InferredName { get; init; }
    Property Value
    Type Description
    string
    View Source

    Value

    The value of the parameter.

    Declaration
    public object? Value { get; init; }
    Property Value
    Type Description
    object

    Methods

    View Source

    Deconstruct(out string?, out object?)

    Declaration
    public void Deconstruct(out string? InferredName, out object? Value)
    Parameters
    Type Name Description
    string InferredName
    object Value
    View Source

    Equals(InterpolatedParameter?)

    Declaration
    public virtual bool Equals(InterpolatedParameter? other)
    Parameters
    Type Name Description
    InterpolatedParameter other
    Returns
    Type Description
    bool
    View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    View Source

    PrintMembers(StringBuilder)

    Declaration
    protected virtual bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    View Source

    operator ==(InterpolatedParameter?, InterpolatedParameter?)

    Declaration
    public static bool operator ==(InterpolatedParameter? left, InterpolatedParameter? right)
    Parameters
    Type Name Description
    InterpolatedParameter left
    InterpolatedParameter right
    Returns
    Type Description
    bool
    View Source

    operator !=(InterpolatedParameter?, InterpolatedParameter?)

    Declaration
    public static bool operator !=(InterpolatedParameter? left, InterpolatedParameter? right)
    Parameters
    Type Name Description
    InterpolatedParameter left
    InterpolatedParameter right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    • View Source
    In this article
    Back to top Generated by DocFX