My App uses quite a lot of SQL. There is a background service listening for Bluetooth messages which responds by inserting SQL records based on the messages received.
The app occasionally stops for no obvious reason but I have not managed to trap this in Debug mode yet. It is typically after it has been running for half an hour or so.
I use SQL.ExecNonQuery(...) etc but I am not using Transactions. Could it be that the Service is trying to run more than one SQL command at the same time and if so will putting them all into Transactions solve the problem?
Thanks for any advice...
The app occasionally stops for no obvious reason but I have not managed to trap this in Debug mode yet. It is typically after it has been running for half an hour or so.
I use SQL.ExecNonQuery(...) etc but I am not using Transactions. Could it be that the Service is trying to run more than one SQL command at the same time and if so will putting them all into Transactions solve the problem?
Thanks for any advice...