Beispiel #1
0
        public object ToRows(Type rowType, ResultSet resultSet)
        {
            var binder  = new RowConverter();
            var columns = resultSet.Columns;

            return(resultSet.Rows
                   .Select(row => binder.ConvertRowToObject(rowType, columns, row))
                   .ToListOfDynamicType(rowType));
        }
Beispiel #2
0
 public ResultSetConverter()
 {
     converter = new RowConverter();
 }