I am trying to write my own DatabaseStorageBase for a mini profiler and I am having problems in my
private List<T> LoadFor<T>(DbConnection conn, object idParameter)
method. Dapper keeps yelling at me with
Error parsing column 5 (level=0 - SByte)
I save the level as tinyint(4), so I assume that dapper cannot do the conversion from Tiny Int to what looks like Enum ( ProfileLevel)? Can someone suggest how I should save the level in mysql so that I can solve my conversion problems?
source
share