Struct SqlQueryReaderOptions
- Namespace
- LfrlAnvil.Sql.Statements
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents SqlQueryReader options.
public readonly record struct SqlQueryReaderOptions : IEquatable<SqlQueryReaderOptions>
- Implements
- Inherited Members
Constructors
SqlQueryReaderOptions(int?)
Represents SqlQueryReader options.
public SqlQueryReaderOptions(int? InitialBufferCapacity)
Parameters
InitialBufferCapacity
int?Specifies the initial capacity of read rows buffer.
Properties
InitialBufferCapacity
Specifies the initial capacity of read rows buffer.
public int? InitialBufferCapacity { get; init; }
Property Value
- int?
Methods
CreateList<TRow>()
Creates an initial rows buffer.
[Pure]
public List<TRow> CreateList<TRow>()
Returns
Type Parameters
TRow
Row type.
Remarks
When InitialBufferCapacity is not null, then it will be used to set the initial Capacity of the returned buffer.