DEV Community

Discussion on: How to map column names to class properties with Dapper

Collapse
 
michelc profile image
Michel • Edited

Yes. I also don't think it's really worth it, especially since I only use Dapper for small conversion application. But it was fun to try new things.

By the way, I love the nameof(Class.PropertyName) thing. Thanks.

Collapse
 
buinauskas profile image
Evaldas Buinauskas

Might be an overkill, yep.

A few days ago I had to do quite a big refactoring and queries were constructed exactly like this, refactoring was a breeze 🙂

Cheers!