Enum PreparedCommandCache
Selects how a prepared query command owns its underlying ADO.NET command across executions.
public enum PreparedCommandCache
- Extension Methods
Fields
Connection = 0One 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 = 1A fresh command is created for every execution and disposed when that execution ends; nothing is reused.