How to handle enumeration in ormlite

Hi,
I use enumeration in the DTO, but when i save it to db, i find enumeration was converted to string, could i control the convert process?

find this

JsConfig.TreatEnumAsInteger = true; 

this wiki is also very useful