« Return to Thread: Easy way to handle enum

Easy way to handle enum

by tech fan :: Rate this Message:

Reply to Author | View in Thread

Hi, I'm new to Ibatis.net and want to know if there is easy way to handle enum types.
I have enums stored in db as string, and sometimes I just want a list of the enum  returned: IList<enumtype>, but I can not find a way to handle this map. Any anoying thing is, when I pass enum as parameter, unless I use a parameterclass, it seems I have no way to turn them into string. Any idea?
 
Regards,
T.C.

 « Return to Thread: Easy way to handle enum