public CollectionIncludeRelatedValuesStrategy( IAsyncEnumerable <IValueReader> relatedValueReaders, Func <IValueReader, object> materializer) { _materializer = materializer; _includeCollectionIterator = new AsyncIncludeCollectionIterator(relatedValueReaders.GetEnumerator()); }
public IncludeCollectionAsyncEnumerator(IncludeCollectionAsyncEnumerable <TResult> enumerable) { _enumerable = enumerable; _enumerator = _enumerable._source.GetEnumerator(); _relatedValuesIterator = new AsyncIncludeCollectionIterator(_enumerable._relatedValueReaders.GetEnumerator()); }
public RelatedValuesEnumerable( AsyncIncludeCollectionIterator iterator, EntityKey primaryKey, Func <IValueReader, EntityKey> relatedKeyFactory) { _iterator = iterator; _primaryKey = primaryKey; _relatedKeyFactory = relatedKeyFactory; }
public CollectionIncludeRelatedValuesStrategy(IAsyncEnumerable <IValueReader> relatedValueReaders) { _includeCollectionIterator = new AsyncIncludeCollectionIterator(relatedValueReaders.GetEnumerator()); }