Class SingleQueryingEnumerable<T>
- 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 SingleQueryingEnumerable<T> : IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>, IRelationalQueryingEnumerable, IQueryingEnumerable
Type Parameters
T
- Inheritance
-
SingleQueryingEnumerable<T>
- Implements
-
IEnumerable<T>IQueryingEnumerable
- Inherited Members
Constructors
SingleQueryingEnumerable(RelationalQueryContext, RelationalCommandCache, IReadOnlyList<ReaderColumn?>?, Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T>, 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 SingleQueryingEnumerable(RelationalQueryContext relationalQueryContext, RelationalCommandCache relationalCommandCache, IReadOnlyList<ReaderColumn?>? readerColumns, Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T> shaper, Type contextType, bool standAloneStateManager, bool detailedErrorsEnabled, bool threadSafetyChecksEnabled)
Parameters
relationalQueryContext
RelationalQueryContextrelationalCommandCache
RelationalCommandCachereaderColumns
IReadOnlyList<ReaderColumn>shaper
Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T>contextType
TypestandAloneStateManager
booldetailedErrorsEnabled
boolthreadSafetyChecksEnabled
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
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<T> GetAsyncEnumerator(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
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<T> GetEnumerator()
Returns
- IEnumerator<T>
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()