Class InterpolatedParameter

Namespace
RentADeveloper.DbConnectionPlus.SqlStatements
Assembly
RentADeveloper.DbConnectionPlus.dll

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

public record InterpolatedParameter : IEquatable<InterpolatedParameter>
Inheritance
InterpolatedParameter
Implements
Inherited Members

Constructors

InterpolatedParameter(string?, object?)

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

public InterpolatedParameter(string? InferredName, object? Value)

Parameters

InferredName string

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.

Value object

The value of the parameter.

Properties

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.

public string? InferredName { get; init; }

Property Value

string

Value

The value of the parameter.

public object? Value { get; init; }

Property Value

object