Concurrency issue using datatable in business object
Posted on 2006-03-24
I've got a business object built around a datatable, that also has an "index" made of a hashtable filled with sorted lists. I store the business object in a public shared variable between page cycles.
What are some possible approaches and techniques that could be used to "lock" the business object to make sure that it isn't being updated simultaneously, possibly damaging the index and/or index-datatable relationship?
Any guidance on this would be appreciated.