/// <summary> /// Converts the query result into a collection of <see cref="DynamicObject"/> /// </summary> /// <param name="queryResult">The reult of the query execution</param> /// <returns>The mapped query result</returns> protected virtual IEnumerable <DynamicObject> ConvertResult(object queryResult) { var dynamicObjects = _mapper.MapCollection(queryResult, _setTypeInformation); return(dynamicObjects); }
/// <summary> /// Converts the query result into a collection of <see cref="DynamicObject"/>. /// </summary> /// <param name="queryResult">The reult of the query execution.</param> /// <returns>The mapped query result.</returns> protected override IEnumerable <DynamicObject?>?ConvertResult(object?queryResult) => _mapper.MapCollection(queryResult, _setTypeInformation);
/// <summary> /// Converts the query result into a collection of <see cref="DynamicObject"/>. /// </summary> /// <param name="queryResult">The reult of the query execution.</param> /// <returns>The mapped query result.</returns> protected virtual IEnumerable <DynamicObject> ConvertResult(object queryResult) => _mapper.MapCollection(queryResult, _setTypeInformation);