dapper-wrapper icon indicating copy to clipboard operation
dapper-wrapper copied to clipboard

Should IDbExecutor derive from IDisposable?

Open martinjt opened this issue 10 years ago • 2 comments

You've added a .Dispose, however, I'm unable to use this in a using statement as you would with an IDbConnection... if you derive it from IDisposable, that pattern should work (I think).

Is there a reason to not do that?

martinjt avatar Jul 14 '15 23:07 martinjt

IDbExecutor is an IDisposable, so it should work properly.

sjwoodard avatar Aug 18 '15 17:08 sjwoodard

As I am sure you have already gathered from me neglecting issues on this repo, I am no longer (and haven't been for years) maintaining this library. I apologize it has taken me this long to properly respond to this to let you know, and to archive this repo.

half-ogre avatar Nov 02 '19 18:11 half-ogre