Using Enumerations With NPoco

added by David Savage
8/19/2014 9:44:36 PM

1 Kicks, 150 Views

Recently, we tried to use the Enumerations project with NPoco. In our case, we wanted to get the enumeration Value to persist as an Int in our database. At first it seemed like we may need to create a Fluent Mapping for each property. But then I discovered a better breakdown of custom mappers and it turned out to be a lot easier than expected.


0 comments