Mapper.map

Maps each property of T to a column in a ResultSet. If T is a class, it will new it up and map all of the public fields. If T is a primitive type it will assume the result of the query boils down to a single value and returns that.

  1. T map()
    class Mapper(T)
    T
    map
    ()
  2. void map(T model, string[] map)

Return Value

Type: T

An instance of T or a single primitive value.

Meta