CMS
CMS copied to clipboard
Feature Request : Code-based Data Rule
having recently dug into much of the internals of DataRuleBase and DataRuleExecutor... I realize that many of the home-made queries that are being written are unable to leverage most of the really cool features that a DataRule provides, such as caching, automatic support for Pager (converting to PagedList), assignment to ViewBag, etc...
it'd be nice if we could create a code-based DataRule that returns a DataQuery... which could then be handled natively by the Executor, supported by pager, etc.
Throw in settings (such as whether to enable caching, how long, etc) to enable those features too :)