Hi all,
we are using:
MS Win 7 SP 1, MS Visual Studio 2010 SP 1, .NET Framework 4.0, LLBLGen Pro 3.1 newest release, MS SQL Server 2008 R2, MS Entity Framework 4.0.
This is the situation:
Entities A and B are connected through a [0..1] to [0..1] relation. While in entity A the connector is the primary key attribute, in entity B it is a foreign key attribute which is optional.
For this relation I would expect the generation of an UNIQUE INDEX WHERE FOREIGNKEYATTRIBUTE IS NOT NULL. Instead an unique constraint without any where clauses are generated in such situations.
My question is:
What do I have to do to get the correct result from generating database sql scripts?
Thank you in advance,
regards
Chris