Page 1 of 1

Problem with DB-Index

Posted: Sat 14 Feb 2009 10:03
by Zero-G.
Hey
I don't know, if this is a bug, or a don't known issue...
Following steps to reproduce:
In mySQL create a Table with 3 Fields.
Let's say:
ID (BigInt) dID(BigInt) cID(Bigint)
All three fields have to be Primary
Then create a second table with one field
dID (BigInt)
OK - Now create a froeign key between dID SecondTable and dID First table

When yout then generate the model in the entity Designer (1.0.53) then you will see, that the designer will NOT create the association. (Maybe, he knows, that it won't work...)
Then add an association by hand, like above. - And Validate. It tells, everything is OK.
But when running a Linq with this fields, there will be an error.

So, please take a look on this behaivor

Posted: Tue 17 Feb 2009 12:31
by AndreyR
Could you please provide a more detailed description of the problem?
Please post the exception message and the stack trace.
What LINQ query were you using?