AspNetCoreOData
AspNetCoreOData copied to clipboard
Restructure AggregationBinder
The main changes:
- Wrap the required
AggregationBinder
properties inQueryBinderContext
- Make the
AggregationBinder
implementIAggregationBinder
- Inject
AggregationBinder
as an implementation ofIAggregationBinder
- Make
BindSelect
andBindGroupBy
methodsvirtual
. - Remove support for
EFClassic
Make AggregationBinder
public and extensible
public class AggregationBinder : QueryBinder, IAggregationBinder
{
public virtual Expression BindSelect(TransformationNode transformationNode, QueryBinderContext context)
{
}
public virtual Expression BindGroupBy(TransformationNode transformationNode, QueryBinderContext context)
{
}
}