CoreLibraries icon indicating copy to clipboard operation
CoreLibraries copied to clipboard

Add support for manual disposal to SqlProgram

Open thargy opened this issue 10 years ago • 1 comments

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.

thargy avatar May 20 '16 14:05 thargy

This is now implemented using SqlBatch. See: #45, c8e8abd21d1bfaed28a437e99c939e99bcaeeb11 and da62f464634792bcfc237c62ac5a0a411030680c

billings7 avatar Jun 08 '17 15:06 billings7