Grouping<TKey,TElement>

Overview

This class is used internally by DA Linq to represent the result of the group by clause in Linq queries to a Data Abstract service. Normally, you will never have to create instances of this class manually, as this is done by Data Abstract's Linq infrastructure.

Location

Properties


Key

Value of the grouping key.

 

property Key: TKey read;

 

TKey Key { get; }

 

ReadOnly Property Key() As TKey

Instance Methods


constructor

Creates a new instance of the Grouping class.

 

constructor(aKey: TKey; aGroup: IEnumerable<TElement>)

 

Grouping<TKey,TElement>(TKey aKey, IEnumerable<TElement> aGroup)

 

Sub New(aKey As TKey, aGroup As IEnumerable<TElement>)

Parameters:

  • aKey:
  • aGroup: Result of the grouping operation