This project is read-only.
1
Vote

Aggregates and Built-in Functions

description

Need to support the common aggregates and built-in functions. I'm having trouble imagining how to do this such that making use of these can be done in a concise way.
 
adapter.Max("max param") ?
 
or
 
enum Aggregates { Max, Min, Count, ... }
adapter.Aggregate(Aggregates.Max, "max param")
 
and via extension method
 
Aggregates.Max(adapter (optional), "max param")
Aggregates.Max("max param")

comments

RizwanSaddal wrote Jan 13, 2012 at 12:43 PM

enum Aggregates { Max, Min, Count, ... }
adapter.Aggregate(Aggregates.Max, "max param")

wrote Feb 14, 2013 at 7:46 PM

wrote Fri at 10:00 PM