Entity Framework - How to clear connection pool manually? SNIX_Excecute Error

后端 未结 1 1681
说谎
说谎 2021-01-27 03:29

I\'m using entity framework for a xamarin project. When the app is minimised on iOS and then opened again it throws connection problems (See error below): SNIX_Execute (provider

1条回答
  •  时光说笑
    2021-01-27 04:16

    Update - Just found out how to do it. On the resume method in add:

    SqlConnection.ClearAllPools();
    

    0 讨论(0)
提交回复
热议问题