G
Guest
Hello,
I'm using a lot of threads, each one using it's own instance of my
TableAdapter, Connection and DataTables. But all of them will access the same
table at the same sql server maybe at the same time (optimistic concurrency,
etc.)
I found the following in the Documentation:
Any public static (Shared in Visual Basic) members of this type are thread
safe. Any instance members are not guaranteed to be thread safe.
Well, what does this mean exactly?
As I understand, this may not be any problem for me.
Only, if I would use e.g. the same instance of a SqlDataAdapter in more than
one threads (what I'm doing not) I may run into problems.
Is this correct?
Thanks in advance,
Robert Witter
I'm using a lot of threads, each one using it's own instance of my
TableAdapter, Connection and DataTables. But all of them will access the same
table at the same sql server maybe at the same time (optimistic concurrency,
etc.)
I found the following in the Documentation:
Any public static (Shared in Visual Basic) members of this type are thread
safe. Any instance members are not guaranteed to be thread safe.
Well, what does this mean exactly?
As I understand, this may not be any problem for me.
Only, if I would use e.g. the same instance of a SqlDataAdapter in more than
one threads (what I'm doing not) I may run into problems.
Is this correct?
Thanks in advance,
Robert Witter