DbParameters structure

An immutable list of parameters.

public struct DbParameters : IReadOnlyList<ValueTuple<string, object>>

Public Members

name description
static readonly Empty An empty list of parameters.
static Create(…) Creates a list of parameters. (2 methods)
static FromDto(…) Creates a list of parameters from the properties of a DTO.
Count { get; } The number of parameters.
Item { get; } The parameter at the specified index.
Add(…) Adds a parameter. (3 methods)
AddDto(…) Adds the properties of a DTO as parameters.
GetEnumerator() Used to enumerate the parameters.

See Also