Im new to SQL and DB in general.
Ive been experimenting and right now I have a 1 static dataAccess class that handles every query to the DB.
Q: Do Static classes such as a static dataAccess class need to be threadsafe as there is only one instance of these within the entire application.See the second bullet here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconThreadingDesignGuidelines.asp
Wednesday, March 7, 2012
Quick Q: regarding static dataAccess class and concurrency
Labels:
class,
concurrency,
dataaccess,
database,
experimenting,
handles,
ive,
microsoft,
mysql,
oracle,
query,
regarding,
server,
sql,
static
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment