What is the use/advantage of using CommandBehavior.CloseConnection in ExecuteReader()

Can anyone tell me what is the CommandBehavior.CloseConnection and what is the use/benefit of passing this as a parameter in com.ExecuteReader(CommandBehavior.CloseConnection)?

16
задан Luke Girvin 24 October 2016 в 14:07
поделиться