Table of Contents

Enum PreparedCommandCache

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Selects how a prepared query command owns its underlying ADO.NET command across executions.

public enum PreparedCommandCache
Extension Methods

Fields

Connection = 0

One command is reused per connection: successive executions on the same connection reuse the same underlying command, while a different connection gets its own. This is the default.

None = 1

A fresh command is created for every execution and disposed when that execution ends; nothing is reused.