views:

10

answers:

1

Hi,

how to I make a Navigation Property be mandatory in the EF designer? (e.g. make Node always have a NodeType)

i.e. so that in the database the NODE foreign key to NODE_TYPE has to be set/have a value

+1  A: 

Specify this on the Association, multiplicity = 1 to ...

Hightechrider
oh, I'd tried that, but perhaps I didn't test properly - I'll check
Greg