Class FromSqlQueryingEnumerable<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 FromSqlQueryingEnumerable<T> : IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>, IRelationalQueryingEnumerable, IQueryingEnumerable
Type Parameters
T
- Inheritance
-
FromSqlQueryingEnumerable<T>
- Implements
-
IEnumerable<T>IQueryingEnumerable
- Inherited Members
Constructors
FromSqlQueryingEnumerable(RelationalQueryContext, RelationalCommandCache, IReadOnlyList<ReaderColumn?>?, IReadOnlyList<string>, Func<QueryContext, DbDataReader, int[], 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 FromSqlQueryingEnumerable(RelationalQueryContext relationalQueryContext, RelationalCommandCache relationalCommandCache, IReadOnlyList<ReaderColumn?>? readerColumns, IReadOnlyList<string> columnNames, Func<QueryContext, DbDataReader, int[], T> shaper, Type contextType, bool standAloneStateManager, bool detailedErrorsEnabled, bool threadSafetyChecksEnabled)
Parameters
relationalQueryContext
RelationalQueryContextrelationalCommandCache
RelationalCommandCachereaderColumns
IReadOnlyList<ReaderColumn>columnNames
IReadOnlyList<string>shaper
Func<QueryContext, DbDataReader, int[], T>contextType
TypestandAloneStateManager
booldetailedErrorsEnabled
boolthreadSafetyChecksEnabled
bool
Methods
BuildIndexMap(IReadOnlyList<string>, DbDataReader)
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 static int[] BuildIndexMap(IReadOnlyList<string> columnNames, DbDataReader dataReader)
Parameters
columnNames
IReadOnlyList<string>dataReader
DbDataReader
Returns
- int[]
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()