Table of Contents

Class GroupBySingleQueryingEnumerable<TKey, TElement>

Namespace
Microsoft.EntityFrameworkCore.Query.Internal
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class GroupBySingleQueryingEnumerable<TKey, TElement> : IEnumerable<IGrouping<TKey, TElement>>, IEnumerable, IAsyncEnumerable<IGrouping<TKey, TElement>>, IRelationalQueryingEnumerable, IQueryingEnumerable

Type Parameters

TKey
TElement
Inheritance
GroupBySingleQueryingEnumerable<TKey, TElement>
Implements
IEnumerable<IGrouping<TKey, TElement>>
IAsyncEnumerable<IGrouping<TKey, TElement>>
IQueryingEnumerable
Inherited Members

Constructors

GroupBySingleQueryingEnumerable(RelationalQueryContext, RelationalCommandCache, IReadOnlyList<ReaderColumn?>?, Func<QueryContext, DbDataReader, TKey>, Func<QueryContext, DbDataReader, object[]>, IReadOnlyList<ValueComparer>, Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, TElement>, Type, bool, bool, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public GroupBySingleQueryingEnumerable(RelationalQueryContext relationalQueryContext, RelationalCommandCache relationalCommandCache, IReadOnlyList<ReaderColumn?>? readerColumns, Func<QueryContext, DbDataReader, TKey> keySelector, Func<QueryContext, DbDataReader, object[]> keyIdentifier, IReadOnlyList<ValueComparer> keyIdentifierValueComparers, Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, TElement> elementSelector, Type contextType, bool standAloneStateManager, bool detailedErrorsEnabled, bool threadSafetyChecksEnabled)

Parameters

relationalQueryContext RelationalQueryContext
relationalCommandCache RelationalCommandCache
readerColumns IReadOnlyList<ReaderColumn>
keySelector Func<QueryContext, DbDataReader, TKey>
keyIdentifier Func<QueryContext, DbDataReader, object[]>
keyIdentifierValueComparers IReadOnlyList<ValueComparer>
elementSelector Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, TElement>
contextType Type
standAloneStateManager bool
detailedErrorsEnabled bool
threadSafetyChecksEnabled bool

Methods

CreateDbCommand()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual DbCommand CreateDbCommand()

Returns

DbCommand

GetAsyncEnumerator(CancellationToken)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IAsyncEnumerator<IGrouping<TKey, TElement>> GetAsyncEnumerator(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

IAsyncEnumerator<IGrouping<TKey, TElement>>

GetEnumerator()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IEnumerator<IGrouping<TKey, TElement>> GetEnumerator()

Returns

IEnumerator<IGrouping<TKey, TElement>>

ToQueryString()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual string ToQueryString()

Returns

string