GetDBUser Thread Safe?

Sep 26, 2010 at 7:20 PM

I am using the latest version on the code(3.6.0.8) and i am getting odd errors or result from the data base when i try to run this for multiple users.

Is the SqlAzManStorage.GetDBUser Thread Safe?

thx.

Sep 26, 2010 at 9:51 PM

No.

It is not thread safe because SqlConnection (used inside) is not thread safe.

A possible workaround is to add MultipleActiveResultSets=True into the connection string.

Regards,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com