CoreLibraries
CoreLibraries copied to clipboard
Add support for manual disposal to SqlProgram
When streaming from a database, it is necessary to keep a reader/command/connection open until the streaming is complete. To this end, it makes sense to allow support for manual disposal when executing readers.
Also, there is a strong argument to use CommandTimeout to auto-dispose resources if they have not been disposed manually.
This is now implemented using SqlBatch. See: #45, c8e8abd21d1bfaed28a437e99c939e99bcaeeb11 and da62f464634792bcfc237c62ac5a0a411030680c