Can someone direct me how to define a naming convention for CompositeId() in NHibernate?
I tried implementing ICompositeIdentityConvention
(not working) :
public void Apply(ICompositeIdentityInstance instance)
{
instance.Access.CamelCaseField(CamelCasePrefix.Underscore);
}
The other interfaces (IPropertyInstance
, IVersionInstance
, IIdentityInstance
) has instance.Column("Column name here");
method, but I can't find any on that interface.
I tried to loop through instance.KeyProperties with no result either.
Thanks.