C# Class NLite.Data.Linq.Expressions.Aggregator

Datei anzeigen Open project: netcasewqs/elinq

Public Methods

Method Description
GetAggregator ( Type expectedType, Type actualType ) : LambdaExpression

Get a function that coerces a sequence of one type into another type. This is primarily used for aggregators stored in ProjectionExpression's, which are used to represent the final transformation of the entire result set of a query.

Private Methods

Method Description
CoerceElement ( Type expectedElementType, Expression expression ) : Expression

Method Details

GetAggregator() public static method

Get a function that coerces a sequence of one type into another type. This is primarily used for aggregators stored in ProjectionExpression's, which are used to represent the final transformation of the entire result set of a query.
public static GetAggregator ( Type expectedType, Type actualType ) : LambdaExpression
expectedType System.Type
actualType System.Type
return System.Linq.Expressions.LambdaExpression