Click or drag to resize
GroupDescriptorBaseCreateGroupKeyExpression Method
Creates a group expression by delegating its creation to CreateGroupKeyExpression(ParameterExpression), if itemExpression is ParameterExpression, otherwise throws ArgumentException

Namespace: Kettic.AspNet.Data
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual Expression CreateGroupKeyExpression(
	Expression itemExpression
)

Parameters

itemExpression
Type: System.Linq.ExpressionsExpression
The instance expression, which will be used for grouping.

Return Value

Type: Expression
Expression that creates group key for the given item.

Implements

IGroupDescriptorCreateGroupKeyExpression(Expression)
Exceptions
ExceptionCondition
ArgumentExceptionParameter should be of type ParameterExpression
See Also