How long can a DataContext exist in EF and Linq2Sql?

Can I store a DataContext for a long time? What will happen to Connection?

+3
source share
2 answers

; (). , , , (, -).

, , .

/ , , concurrency.

; SqlConnection ; ( ). , (SPID).

+1

Source: https://habr.com/ru/post/1711596/


All Articles