Table of Contents

Enum PrepareFromSqlMode

Namespace
NextORM.Core
Assembly
nextorm.core.dll

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 = 0

Buffered/scalar execution optimized for a materialized result (the default).

StoreInCache = 2

Store the prepared command in the plan cache.

Streaming = 1

Stream the result instead of buffering it. Required when the command is consumed as an IEnumerable/IAsyncEnumerable.