we have a project built upon WCF RIA Services. Imagine that we have a method with multiple arguments passed into, and producing different set of items depending on arguments, for example:
IQueryable<PresentationEntity> GetEntities(DateTime startDate, DateTime endDate, int maxCount)
{
...
}
The question is what is the best way to set up caching for this method to cache all the outputs depending on parameter values?