public Enumerator(SingleQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper      = queryingEnumerable._shaper;
     _contextType = queryingEnumerable._contextType;
     _queryLogger = queryingEnumerable._queryLogger;
     _performIdentityResolution = queryingEnumerable._performIdentityResolution;
 }
 public Enumerator(SingleQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper                 = queryingEnumerable._shaper;
     _contextType            = queryingEnumerable._contextType;
     _queryLogger            = queryingEnumerable._queryLogger;
     _standAloneStateManager = queryingEnumerable._standAloneStateManager;
 }
Example #3
0
 public Enumerator(QueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _columnNames            = queryingEnumerable._columnNames;
     _shaper      = queryingEnumerable._shaper;
     _contextType = queryingEnumerable._contextType;
     _logger      = queryingEnumerable._logger;
 }
Example #4
0
 public Enumerator(SingleQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper                 = queryingEnumerable._shaper;
     _contextType            = queryingEnumerable._contextType;
     _queryLogger            = queryingEnumerable._queryLogger;
     _standAloneStateManager = queryingEnumerable._standAloneStateManager;
     _detailedErrorsEnabled  = queryingEnumerable._detailedErrorsEnabled;
     Current                 = default !;
 public AsyncEnumerator(SplitQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper                 = queryingEnumerable._shaper;
     _relatedDataLoaders     = queryingEnumerable._relatedDataLoadersAsync;
     _contextType            = queryingEnumerable._contextType;
     _queryLogger            = queryingEnumerable._queryLogger;
     _standAloneStateManager = queryingEnumerable._standAloneStateManager;
 }
Example #6
0
 public AsyncEnumerator(SplitQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper                    = queryingEnumerable._shaper;
     _relatedDataLoaders        = queryingEnumerable._relatedDataLoadersAsync;
     _contextType               = queryingEnumerable._contextType;
     _queryLogger               = queryingEnumerable._queryLogger;
     _performIdentityResolution = queryingEnumerable._performIdentityResolution;
 }
Example #7
0
 public AsyncEnumerator(FromSqlQueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _columnNames            = queryingEnumerable._columnNames;
     _shaper                 = queryingEnumerable._shaper;
     _contextType            = queryingEnumerable._contextType;
     _queryLogger            = queryingEnumerable._queryLogger;
     _standAloneStateManager = queryingEnumerable._standAloneStateManager;
     _detailedErrorsEnabled  = queryingEnumerable._detailedErrorsEnabled;
 }
 public Enumerator(QueryingEnumerable <T> queryingEnumerable)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _columnNames            = queryingEnumerable._columnNames;
     _readerColumns          = queryingEnumerable._readerColumns;
     _shaper      = queryingEnumerable._shaper;
     _contextType = queryingEnumerable._contextType;
     _logger      = queryingEnumerable._logger;
     _performIdentityResolution = queryingEnumerable._performIdentityResolution;
 }
Example #9
0
 public AsyncEnumerator(
     QueryingEnumerable <T> queryingEnumerable,
     CancellationToken cancellationToken)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _columnNames            = queryingEnumerable._columnNames;
     _shaper            = queryingEnumerable._shaper;
     _contextType       = queryingEnumerable._contextType;
     _logger            = queryingEnumerable._logger;
     _cancellationToken = cancellationToken;
 }
 public AsyncEnumerator(
     SingleQueryingEnumerable <T> queryingEnumerable,
     CancellationToken cancellationToken)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _shaper                 = queryingEnumerable._shaper;
     _contextType            = queryingEnumerable._contextType;
     _queryLogger            = queryingEnumerable._queryLogger;
     _standAloneStateManager = queryingEnumerable._standAloneStateManager;
     _cancellationToken      = cancellationToken;
 }
Example #11
0
 public AsyncEnumerator(
     FromSqlQueryingEnumerable <T> queryingEnumerable,
     CancellationToken cancellationToken)
 {
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _relationalCommandCache = queryingEnumerable._relationalCommandCache;
     _columnNames            = queryingEnumerable._columnNames;
     _shaper      = queryingEnumerable._shaper;
     _contextType = queryingEnumerable._contextType;
     _queryLogger = queryingEnumerable._queryLogger;
     _performIdentityResolution = queryingEnumerable._performIdentityResolution;
     _cancellationToken         = cancellationToken;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public SingleQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] Func <QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T> shaper,
     [NotNull] Type contextType,
     bool performIdentityResolution)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper      = shaper;
     _contextType = contextType;
     _queryLogger = relationalQueryContext.QueryLogger;
     _performIdentityResolution = performIdentityResolution;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public SingleQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] Func <QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T> shaper,
     [NotNull] Type contextType,
     bool standAloneStateManager)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper                 = shaper;
     _contextType            = contextType;
     _queryLogger            = relationalQueryContext.QueryLogger;
     _standAloneStateManager = standAloneStateManager;
 }
Example #14
0
 public QueryingEnumerable(
     RelationalQueryContext relationalQueryContext,
     RelationalCommandCache relationalCommandCache,
     IReadOnlyList <string> columnNames,
     Func <QueryContext, DbDataReader, ResultContext, int[], ResultCoordinator, T> shaper,
     Type contextType,
     IDiagnosticsLogger <DbLoggerCategory.Query> logger)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _columnNames            = columnNames;
     _shaper      = shaper;
     _contextType = contextType;
     _logger      = logger;
 }
Example #15
0
 /// <summary>
 ///     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.
 /// </summary>
 public FromSqlQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] IReadOnlyList <string> columnNames,
     [NotNull] Func <QueryContext, DbDataReader, int[], T> shaper,
     [NotNull] Type contextType,
     bool performIdentityResolution)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _columnNames            = columnNames;
     _shaper      = shaper;
     _contextType = contextType;
     _queryLogger = relationalQueryContext.QueryLogger;
     _performIdentityResolution = performIdentityResolution;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public FromSqlQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] IReadOnlyList <string> columnNames,
     [NotNull] Func <QueryContext, DbDataReader, int[], T> shaper,
     [NotNull] Type contextType,
     bool standAloneStateManager)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _columnNames            = columnNames;
     _shaper                 = shaper;
     _contextType            = contextType;
     _queryLogger            = relationalQueryContext.QueryLogger;
     _standAloneStateManager = standAloneStateManager;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public SingleQueryingEnumerable(
     RelationalQueryContext relationalQueryContext,
     RelationalCommandCache relationalCommandCache,
     Func <QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T> shaper,
     Type contextType,
     bool standAloneStateManager,
     bool detailedErrorsEnabled,
     bool threadSafetyChecksEnabled)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper                    = shaper;
     _contextType               = contextType;
     _queryLogger               = relationalQueryContext.QueryLogger;
     _standAloneStateManager    = standAloneStateManager;
     _detailedErrorsEnabled     = detailedErrorsEnabled;
     _threadSafetyChecksEnabled = threadSafetyChecksEnabled;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public SplitQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] Func <QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, T> shaper,
     [NotNull] Action <QueryContext, IExecutionStrategy, SplitQueryResultCoordinator> relatedDataLoaders,
     [NotNull] Func <QueryContext, IExecutionStrategy, SplitQueryResultCoordinator, Task> relatedDataLoadersAsync,
     [NotNull] Type contextType,
     bool standAloneStateManager)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper                  = shaper;
     _relatedDataLoaders      = relatedDataLoaders;
     _relatedDataLoadersAsync = relatedDataLoadersAsync;
     _contextType             = contextType;
     _queryLogger             = relationalQueryContext.QueryLogger;
     _standAloneStateManager  = standAloneStateManager;
 }
Example #19
0
 public SingleQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] Func <QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, T> shaper,
     [NotNull] Type contextType,
     bool standAloneStateManager,
     bool detailedErrorsEnabled,
     bool concurrencyDetectionEnabled)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper                      = shaper;
     _contextType                 = contextType;
     _queryLogger                 = relationalQueryContext.QueryLogger;
     _standAloneStateManager      = standAloneStateManager;
     _detailedErrorsEnabled       = detailedErrorsEnabled;
     _concurrencyDetectionEnabled = concurrencyDetectionEnabled;
 }
 /// <summary>
 ///     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.
 /// </summary>
 public QueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] RelationalCommandCache relationalCommandCache,
     [NotNull] IReadOnlyList <string> columnNames,
     [NotNull] IReadOnlyList <ReaderColumn> readerColumns,
     [NotNull] Func <QueryContext, DbDataReader, ResultContext, int[], ResultCoordinator, T> shaper,
     [NotNull] Type contextType,
     [NotNull] IDiagnosticsLogger <DbLoggerCategory.Query> logger,
     bool performIdentityResolution)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _columnNames            = columnNames;
     _readerColumns          = readerColumns;
     _shaper      = shaper;
     _contextType = contextType;
     _logger      = logger;
     _performIdentityResolution = performIdentityResolution;
 }
Example #21
0
 /// <summary>
 ///     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.
 /// </summary>
 public FromSqlQueryingEnumerable(
     RelationalQueryContext relationalQueryContext,
     RelationalCommandCache relationalCommandCache,
     IReadOnlyList <string> columnNames,
     Func <QueryContext, DbDataReader, int[], T> shaper,
     Type contextType,
     bool standAloneStateManager,
     bool detailedErrorsEnabled,
     bool concurrencyDetectionEnabled)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _columnNames            = columnNames;
     _shaper                      = shaper;
     _contextType                 = contextType;
     _queryLogger                 = relationalQueryContext.QueryLogger;
     _standAloneStateManager      = standAloneStateManager;
     _detailedErrorsEnabled       = detailedErrorsEnabled;
     _concurrencyDetectionEnabled = concurrencyDetectionEnabled;
 }
Example #22
0
 /// <summary>
 ///     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.
 /// </summary>
 public SplitQueryingEnumerable(
     RelationalQueryContext relationalQueryContext,
     RelationalCommandCache relationalCommandCache,
     Func <QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, T> shaper,
     Action <QueryContext, IExecutionStrategy, SplitQueryResultCoordinator> relatedDataLoaders,
     Func <QueryContext, IExecutionStrategy, SplitQueryResultCoordinator, Task> relatedDataLoadersAsync,
     Type contextType,
     bool standAloneStateManager,
     bool detailedErrorsEnabled,
     bool threadSafetyChecksEnabled)
 {
     _relationalQueryContext = relationalQueryContext;
     _relationalCommandCache = relationalCommandCache;
     _shaper                    = shaper;
     _relatedDataLoaders        = relatedDataLoaders;
     _relatedDataLoadersAsync   = relatedDataLoadersAsync;
     _contextType               = contextType;
     _queryLogger               = relationalQueryContext.QueryLogger;
     _standAloneStateManager    = standAloneStateManager;
     _detailedErrorsEnabled     = detailedErrorsEnabled;
     _threadSafetyChecksEnabled = threadSafetyChecksEnabled;
 }