Finally, I've solved it by a brute-force-like trials :S
Solution : ( Please don't ask me a WHY question as IDK will be my answer )
After adding a One-to-ZeroOne Relation you might have one or two Navigation Properties added to associated tables, but
You MUST add a Foreign Key as Scalar Property to the ZeroOne Table with Same type &
true
Nullable properties.You MUST adjust the Residential Constrain for the association by double clicking the association line itself and make the
FK
in the ZeroOne Table dependent on the One tableKey
.Generate the database script, execute it and Don't Update LightSwitch data source,
Delete
data source &Attach
it again instead as it won't update relations correctly!