how to make one to many association ends nullable? (solved)
Posted: Wed 05 Nov 2014 08:39
hello all
title says it all. they're set to 'not null' by default, but i could not find a way to change this in the editor. i'm working with nhibernate, generating hbm.xml for each entity.
thx in advance for any help.
cheers
mkranz
edit: seems that there is a global switch somewhere, since everything in my model is set to not null by default... hmm. currently looking at the NHibernateMappingSamples (that do not have this problem) to identify the problem.
edit2: ok, i finally found the (almost hidden
) properties window to configure the association ends. in the association editor, select the respective column, then there appears a button "..." to the right to edit the column properties.
title says it all. they're set to 'not null' by default, but i could not find a way to change this in the editor. i'm working with nhibernate, generating hbm.xml for each entity.
thx in advance for any help.
cheers
mkranz
edit: seems that there is a global switch somewhere, since everything in my model is set to not null by default... hmm. currently looking at the NHibernateMappingSamples (that do not have this problem) to identify the problem.
edit2: ok, i finally found the (almost hidden
