If I uncomment the first mapping.Map you see below, I get a duplicate property error. Is there a way to combine an override of the ColumnName as well as WithLengthOf in the same IAutoMappingOverride class?
public class AttributePropertyAutoMappingOverride : IAutoMappingOverride<AttributeProperty> { #region IAutoMappingOverride<AttributeProperty> Members public void Override(AutoMap<AttributeProperty> mapping) { // can't seem to combine this with the other mapping overrides //mapping.Map(x => x.Render).ColumnName("RENDER"); mapping.Map(x => x.Render) .Not.Nullable() .WithLengthOf(50) //.SetAttributeOnColumnElement("name","RENDER") ; } #endregion } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---