in FK column names). I have set a break point in the apply method and
On Sep 23, 7:30 pm, Mikael Henriksson <
mik...@zoolutions.se> wrote:
> All you need is a convention and then add the convention to you fluent
> mappings.
>
> 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<IPropertyInspector> criteria)
> {
> criteria.Expect(x => x.Property.PropertyType.IsEnum);
> }
>
> #endregion
>
> }
>
> On Wed, Sep 23, 2009 at 9:47 AM, Bogdan Ungureanu <
daemo...@gmail.com>wrote:
>
> > Please take a look here