Recently I had a need to map an IDataRecord to an entity class object in C# without using reflection for performance reasons, and because I can. Here is the code…