NHibernate-One 2 one association with different field names
Posted: Fri 10 Feb 2012 09:25
Hi,
Until "property-ref="PropertyNameFromAssociatedClass"" is implemented in the entity developer for NHibernate, (http://ayende.com/blog/3960/nhibernate- ... one-to-one), how would I map an optional association in the following scenario:
Customer.BillingAddress
[customer].[billing_address_id] [addresses].[address_id]
Cheers,
Andrei
Until "property-ref="PropertyNameFromAssociatedClass"" is implemented in the entity developer for NHibernate, (http://ayende.com/blog/3960/nhibernate- ... one-to-one), how would I map an optional association in the following scenario:
Customer.BillingAddress
[customer].[billing_address_id] [addresses].[address_id]
Cheers,
Andrei