Hi,
I have a question...
public enum DataType
{
    String = 1,
    Integer = 2,
    Form = 3
    ...
}

public class MyClass
{
    public virtual DataType DataType {get;set;}
}

mapper.Class<FormField>(map=>map.Property(x=>x.DataType,
m=>m.Type<EnumStringType<DataType>>()));

Now, in the database i have values for the enum as string but the
values are mixed case.
How to define convention so that nhibernate do case insensitive when
resolving an enum value?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to