Question about DataAccess Block

  • Thread starter Thread starter ad
  • Start date Start date
Hi,

Yes, IIRC this overload of ExecuteReader ultimately passes
CommandBehaviour.CloseConnection to the call to ExecuteReader on the command
object. This causes the connection to be closed when the reader is closed.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top