Save() then GetMutli - threading issue?

Posts   
 
    
ianvink
User
Posts: 394
Joined: 15-Dec-2006
# Posted on: 09-Jan-2007 09:11:41   

When I save a collection then quickly call GetMulti and set the collection the the BindingSource's DataSource I often get this error:

Collections derived from this class aren't thread safe by default. Use your own locking system in your code.

What should we do to ensure we don't get the error?

Ian

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 09-Jan-2007 09:18:49