Fluent NHibernate Automapper maps Enum to nvarchar(255) and not int?

Thanks to Mikael Henriksson at the fluent-nhibernate mailing list I found the answer.

Thanks to Mikael Henriksson at the fluent-nhibernate mailing list I found the answer: public class EnumConvention : IPropertyConvention, IPropertyConventionAcceptance { #region IPropertyConvention Members public void Apply(IPropertyInstance instance) { instance. CustomType(instance.Property. PropertyType); } #endregion #region IPropertyConventionAcceptance Members public void Accept(IAcceptanceCriteria criteria) { criteria.

Expect(x => x.Property.PropertyType. IsEnum); } #endregion }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions