I\'m comparing materialize time between Dapper and ADO.NET and Dapper. Ultimately, Dapper tend to faster than ADO.NET, though the first time a given fetch query was executed
I love that the most upvoted answer mentions @MarkGravel and his FastMember. But if you're already using Dapper, which is also a component of his, you can use Dapper's GetRowParser
like this:
var parser = reader.GetRowParser(typeof(MyObject));
while (reader.Read())
{
var myObject = parser(reader);
}