I want to create a custom OutputCacheAttribute that use NHibernate entity like a cachedependency. I'm using an update listener from NHibernate to invalidate the dependency, this part works very good. I try to create a custom attribute inheriting from OutputCacheAttribute but it don't have a cachedependency...