示例#1
0
        /// <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);
        }
示例#2
0
 /// <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);
示例#3
0
 /// <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);