Mapper.map

Maps a class into a PreparedStatement

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

Parameters

model T

an instance of T with fields that match the parmeter names or provide a bind user defined attribute

map string[]

a string array where the index is the parameter index and the string is the parameter name

Meta