When using ExecuteReader(timeout) method to execute a SP, does it terminate process and close connection?
Asked
Active
Viewed 346 times
1 Answers
1
System.Data.Common.DbCommand cmd = null;
// init command
System.Data.Common.DbDataReader dbReader = cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection);

andrei.ciprian
- 2,895
- 1
- 19
- 29