how to make one to many association ends nullable? (solved)

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mkranz
Posts: 1
Joined: Tue 04 Nov 2014 17:15

how to make one to many association ends nullable? (solved)

Post by mkranz » 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 :roll: ) 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.

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: how to make one to many association ends nullable? (solved)

Post by MariiaI » Thu 06 Nov 2014 12:30

Glad to see that you have found the solution.
Some useful information is available here:
http://www.devart.com/entitydeveloper/n ... mples.html
http://www.devart.com/entitydeveloper/n ... first.html

If you have any suggestions how to make the Entity Developer usability better or have any further questions, feel free to contact us.

Post Reply