/// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public AsyncQueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] ShaperCommandContext shaperCommandContext)
 {
     _relationalQueryContext = relationalQueryContext;
     _shaperCommandContext   = shaperCommandContext;
 }
Пример #2
0
 public AsyncEnumerator(AsyncQueryingEnumerable <T> queryingEnumerable)
 {
     _shaperCommandContext   = queryingEnumerable._shaperCommandContext;
     _valueBufferFactory     = _shaperCommandContext.ValueBufferFactory;
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _shaper = queryingEnumerable._shaper;
 }
 public Enumerator(QueryingEnumerable <T> queryingEnumerable)
 {
     _shaperCommandContext   = queryingEnumerable._shaperCommandContext;
     _valueBufferFactory     = _shaperCommandContext.ValueBufferFactory;
     _relationalQueryContext = queryingEnumerable._relationalQueryContext;
     _shaper             = queryingEnumerable._shaper;
     _bufferlessMoveNext = BufferlessMoveNext;
 }
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public QueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] ShaperCommandContext shaperCommandContext,
     int?queryIndex)
 {
     _relationalQueryContext = relationalQueryContext;
     _shaperCommandContext   = shaperCommandContext;
     _queryIndex             = queryIndex;
 }
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public QueryingEnumerable(
     [NotNull] RelationalQueryContext relationalQueryContext,
     [NotNull] ShaperCommandContext shaperCommandContext,
     [NotNull] IShaper <T> shaper)
 {
     _relationalQueryContext = relationalQueryContext;
     _shaperCommandContext   = shaperCommandContext;
     _shaper = shaper;
 }