public object FromQuery(ColumnValueSet columns, MappingConfig mapping) { if (Converter != null) { return(Converter.FromQuery(columns, this, mapping)); } return(mapping.FromDb(Member.PropertyType, columns[PhysicalColumns[0].Name])); }
private static object MapScalar(MappingConfig config, Type type, ColumnValueSet columns) { return(config.FromDb(type, columns.Single().Value)); }