Struct PrepareOptions
Options controlling how a prepared query command is built by
QueryCommand<TResult>.Prepare and EntityBuilderExtensions.Prepare.
The default value (default(PrepareOptions)) prepares a buffered command whose underlying command is
reused per connection, which is the behavior of the parameterless preparation.
public readonly record struct PrepareOptions : IEquatable<PrepareOptions>
- Implements
- Inherited Members
- Extension Methods
Properties
Cache
How the prepared command caches and reuses its underlying command; defaults to Connection.
public PreparedCommandCache Cache { get; init; }
Property Value
Streaming
When true, prepares a streaming command and creates the row enumerator as part of
preparation; when false (the default), prepares a buffered command that needs no
enumerator. This is the positive form of the removed nonStreamUsing boolean.
public bool Streaming { get; init; }