Hi Trapulo,
How are you doing?
For the ObjectDataSource caching question you mentioned, are you using the
default cache feature of the ObjectDataSource? If so, this cache feature is
done by the ObjectDataSource internally and will use the query method's
name and parameter colleciton as cachedKey. So far I haven't found any
interface for us to manually disable/enable this cache depend on some
certain query parameters. However, you can manually remove the cache of the
ObjectDataSource through the ObjectDataSource.CacheKeyDependency property.
See the following article:
#ObjectDataSource in Depth (Part 3)
http://www.manuelabadia.com/blog/PermaLink,guid,eaa3eed8-f997-43c4-8c30-78c2
f72d0c86.aspx
If you do need the capability of control the caching(of underlying data
record set) behavior, I may consider programmatically use ASP.NET Cache
object to cache the data in your data access class instead of
ObjectDataSource's cache support.
How do you tihnk?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.