Thanks for the quick reply.
It's actually a 1:0..1 (UserAccount:Language) relationship, where the foreign key field has to be nullable (in case there is no matching entity of type Language for a particular entity of type UserAccount).
I'm getting a unique constraint violation error while inserting two UserAccounts that have no matching Language:
"Cannot insert duplicate key in object 'dbo.UserAccount'. The duplicate key value is (<NULL>)."
I've tried making the relationship Model-only but then the foreign key constraint isn't generated either (makes sense).
I'm using NHibernate and MS SQL Server.
Thanks again.