1. Create new C# project
2. Add EDMX
3. Choose db-first and connect to Northwind.mdf (attached)
4. Uncheck "include foreign key columns in the model" and select all tables
5. Press "finish"
Expected:
Model is imported, no errors. Model can build.
Actual:
Model is imported, and an error prevents build:
Error 2010: The Column 'ShipperID' specified as part of this MSL does not exist in MetadataWorkspace.
__Update__
I was also able to repro this issue by creating a simple model with two tables and a many-to-many join table. (As long as the foreign keys and primary keys have different names, this repros.)
2. Add EDMX
3. Choose db-first and connect to Northwind.mdf (attached)
4. Uncheck "include foreign key columns in the model" and select all tables
5. Press "finish"
Expected:
Model is imported, no errors. Model can build.
Actual:
Model is imported, and an error prevents build:
Error 2010: The Column 'ShipperID' specified as part of this MSL does not exist in MetadataWorkspace.
__Update__
I was also able to repro this issue by creating a simple model with two tables and a many-to-many join table. (As long as the foreign keys and primary keys have different names, this repros.)