Struct InterpolatedParameter
A parameter created from an interpolated value to be passed to an SQL statement.
Implements
Inherited Members
Namespace: RentADeveloper.SqlConnectionPlus.SqlStatements
Assembly: RentADeveloper.SqlConnectionPlus.dll
Syntax
public readonly record struct InterpolatedParameter : IEquatable<InterpolatedParameter>
Constructors
| Edit this page View SourceInterpolatedParameter(string?, object?)
A parameter created from an interpolated value to be passed to an SQL statement.
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
| Edit this page View SourceInferredName
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 |
Value
The value of the parameter.
Declaration
public object? Value { get; init; }
Property Value
| Type | Description |
|---|---|
| object |