In the App.xaml.cs of my universal app I have opened an SQLConnection. I'm not closing the connection. So far it hasnt caused me trouble. But is it the right way, can we leave it like that. If we are to close the connection (Dispose() cuz I dont see a close function) where do we close? App_Closing?
Aucun commentaire:
Enregistrer un commentaire