public CollectionIncludeRelatedValuesStrategy(
     IAsyncEnumerable <ValueBuffer> relatedValueBuffers, Func <ValueBuffer, object> materializer)
 {
     _materializer = materializer;
     _includeCollectionIterator
         = new AsyncIncludeCollectionIterator(relatedValueBuffers.GetEnumerator());
 }
Ejemplo n.º 2
0
 public RelatedValuesEnumerable(
     AsyncIncludeCollectionIterator iterator,
     EntityKey primaryKey,
     Func <ValueBuffer, EntityKey> relatedKeyFactory)
 {
     _iterator          = iterator;
     _primaryKey        = primaryKey;
     _relatedKeyFactory = relatedKeyFactory;
 }