Default Database caching

Topics: Data Access Application Block
Dec 26, 2006 at 5:10 PM

Using the EAB (2.0) can anyone tell me how to flush or disable the default caching behavior of the Data Block in VB.Net (2005)?
I was advised to use: ConfigurationManager.ClearSingletonSectionCache("NameOfConfig_Section");

Unfortunatly, no such method seems to exist...

Thanks in advance for your help!
Dec 27, 2006 at 9:56 PM
I am not exactly sure what you mean.

The only cache that I can think of with regards to the Data Access Application Block is the ParameterCache used to cache stored procedure parameters during parameter discovery.

In that case there is a static method called ClearParameterCache() that you can use.


Microsoft MVP C#