Enum PrepareFromSqlMode
Flags controlling how raw SQL prepared through PrepareFromSql is executed. Replaces the
pair of nonStreamUsing/storeInCache booleans that used to trail the parameter list.
[Flags]
public enum PrepareFromSqlMode
- Extension Methods
Fields
None = 0Buffered/scalar execution optimized for a materialized result (the default).
StoreInCache = 2Store the prepared command in the plan cache.
Streaming = 1Stream the result instead of buffering it. Required when the command is consumed as an
IEnumerable/IAsyncEnumerable.