I have a Custom Type on Fluent NHibernate and I need to map it to a collection of its type, using HasMany association. However, Fluent Nhibernate doesn't let me indicate on HasMany that its about a custom type like I do in my regular types.
This is my code:
HasMany(x => x.AvailablePaymentOptions)
.KeyColumn("OFFER_ID")
.Cascade.None()
.KeyNullable()
.Not.LazyLoad();
Any thoughts?
Thanks