We've got a convention that I'd like to port to RC1. Any suggestions
for the best way to migrate this?
public class EnumerationTypeShouldBeIntegerNotStringConvention :
IClassConvention
{
public bool Accept(IClassMap target)
{
return target.GetType() == typeof(Enum);
}
public void Apply(IClassMap target)
{
target.SetAttribute("type", "int");
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---