Page 1 of 1

Entity Framework Wizard and Relationships

Posted: Fri 04 Jan 2008 13:44
by haicardi
Hi,

This time I'm trying to use the EF (Entity Framework) Wizard to import two tables with a relationshiop. The problem comes when the wizard tries to generate the EDMX for the table that contains the Foreign Key it will simply popup with an exception with the following error:

Message: Cannot parse create table fnxxx statement: unexpected token at pos 410.

If I remove the FK from the table it imports correctly but I loose the relationship.

Is there a new version of the wizard?

Regards,
Humberto Aicardi

VS 2008RTM
MyDirect.NET 4.30

Posted: Fri 04 Jan 2008 13:56
by haicardi
BTW, the wizard is not generating the attribute "ProviderManifestToken" on the Schema for the StorageModels.

Humberto

Posted: Wed 09 Jan 2008 10:22
by Alexey.mdr
Unfortunately we cannot reproduce this problem. Could you please send us a test project and your SQL script that creates a database with tables?