I have some C# in which I create a reader on a connection (ExecuteReader
), then for every row in that reader, perform another command (with ExecuteNonQuery
). In this case is it better that I use MultipleActiveResultSets=True
on my connection or use multiple connections?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…