I want to confirm that apparently, previous versions of Fluent NH
would give precedence to the FluentMappingOverride. I modified my
column-name convention to exclude the entities with Formula column and
now they work.


    public class OracleUnderscoredNamingConvention :
IPropertyConvention
    {
        public void Apply(IPropertyInstance instance)
        {
            // This previously worked without this condition.
            if (instance.Property.PropertyType == typeof(Partner))
            {
 
instance.Column(OracleConventionSetter.ApplyOracleNamingConventions(instance.Property.Name));
            }
        }
    }

On Apr 27, 4:50 am, James Gregory <[email protected]> wrote:
> So you're setting the formula in your ClassMap and changing column names in
> a convention? Sounds like the column name convention is undoing the formula.
>
> You do realise that column names default to the same as the property name?

-- 
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.

Reply via email to