Have you ever wondered how a data mapper works? In this post, I'll build a simple mapper to illustrate how it works internally.
Fetching rows
To start with, if you look at the IDataReader interface, you'll see that it implements an interface called IDataRecord. That interface