views:

76

answers:

1

Hi,

if my mapping file, how would I reference a C# enum type?
what about columns from another table?

A: 

You can directly use Int32 type in your mapping file. Or if you want to use the string representation of your enum then you use EnumStringType

Darnell