Exemplo n.º 1
0
 protected override async IAsyncEnumerable <DynamicObject?> ConvertResult(IAsyncEnumerable <object?> queryResult)
 {
     await foreach (var item in queryResult.CheckNotNull(nameof(queryResult)))
     {
         yield return(_mapper.MapObject(item, _setTypeInformation));
     }
 }
 protected override async IAsyncEnumerable <DynamicObject> ConvertResult(IAsyncEnumerable <object?> queryResult)
 {
     await foreach (var item in queryResult.CheckNotNull(nameof(queryResult)))
     {
         yield return(_mapper.MapObject(item, _setTypeInformation)
                      ?? DynamicObject.CreateDefault(Context.SystemExpression?.Type));
     }
 }