Hello
I'm Using 8th October Build of llblgen 3.
I have 2 Entities in my system that have a 1 to 0..1 relationship.
I have set this relationship up in the designer and the generated code seems fine. The problem occurs when I try to refresh from the database.
When I refresh llblgen spits out ddl to add a unique constraint on the foreign key. This is incorrect as most of the data will have a null in this column. It also spits out a foreign key constraint with the same problem.
When I skip this setting and refresh the database llblgen removes this relationship because I have RelationshipsFollowDBForeignKeyConstraints set to Default(true). I would like new foreign key constraints to be picked up as relationships by llblgen but replacing this relationship each time I refresh is driving me crazy.
Is there a work around here? - Can I add to the underlaying database so that llblgen recognises a 1 -> 0:1 or can I disable RelationshipsFollowDBForeignKeyConstraints for just this relationship (or entity even?)
Thanks
~Brett