An immutable list of parameters.
public struct DbParameters : IReadOnlyList<(string, object)>
name | description |
---|---|
static readonly Empty | An empty list of parameters. |
static Create(…) | Creates a list of parameters with one parameter. (3 methods) |
static Create<T>(…) | Creates a list of parameters from a sequence of tuples. (2 methods) |
static FromDto(…) | Creates a list of parameters from the properties of a DTO. (3 methods) |
static FromDtos(…) | Creates a list of parameters from the collective properties of a sequence of DTOs. (3 methods) |
static FromDtoWhere(…) | Creates a list of parameters from the properties of a DTO whose names match the specified filter. (3 methods) |
static FromMany(…) | Creates a list of parameters from a single name and a collection of values. (2 methods) |
Count { get; } | The number of parameters. |
Item { get; } | The parameter at the specified index. |
Add(…) | Adds a parameter. (4 methods) |
Add<T>(…) | Adds parameters from a sequence of tuples. (2 methods) |
AddDto(…) | Adds parameters from the properties of a DTO. (3 methods) |
AddDtos(…) | Adds parameters from the collective properties of a sequence of DTOs. (3 methods) |
AddDtoWhere(…) | Adds parameters from the properties of a DTO whose names match the specified filter. (3 methods) |
AddMany(…) | Adds parameters from a single name and a collection of values. (2 methods) |
GetEnumerator() | Used to enumerate the parameters. |
ToDictionary() | Creates a dictionary of parameters. |