[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

Cache Notification in ObjectDataSource doesn't work with Datasets?

pkellnernews

4/10/2006 5:15:00 AM

I'm using the ObjectDataSource and dataset's as outlined in Scott
Guthries posting. My expectation was that SqlNotification in
sqlserver 2005 would work. However, I've been testing with the sql
profiler and the procedure SqlCachePolling is constantly polling. Now,
I read in the MSDN article
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasource.sqlcache...(VS.80).aspx
that:

To support notification, you must write the cache logic in the
implementation of your SelectMethod method and handle the construction
of the SqlCacheDependency object in your code.

How can I do this when I'm using the dataset as my type?

Am I missing something basic here?

Peter Kellner
http://peterk...