How does a DataSource cache internally?

I'm wondering how the DataSource objects like ObjectDataSource and SqlDataSource internally cache the data they use. I mean, they use the Cache object to store this data, but how is that data uniquely identified in cache and how do they exclude the possibility of someone else to accidentally write on the same hash index. Or don't they use the default hash table mechanism provided by the Cache object?

[471 byte] By [DeKale] at [2007-12-16]
# 1
It uses an internal custom class called DataSourceCache, which implements IStateManager. Internally this class uses a set of CacheKeys, AggregateCacheDependency, and the Cache class to manage the cache. Basically it uses the same caching as any web app would.
beshaghy at 2007-9-8 > top of Msdn Tech,.NET Development,.NET Framework Data Access and Storage...

.NET Development

Site Classified