How does the Entity Framework tell whether a multiplicity of "one" or "zero or one" should be used on a relationship?
I'm programmatically creating an edmx file as part of our code generation process and I'd like to know how the designer decides to use "1" or "0..1" for a relationship when you "Update model from database". Any insight on this? Thanks Edit: Ok, I think it uses "0..1" when the "many" side is a nullable foreign key and "1" if it's not nu...