Reputation: 3912
Whilst going through the "ADO.Net Entity Data Model" wizard, I select 3 tables from within a Database to add to my edmx file, and when the file is generated only one of the three tables is there. There was no error or warning to explain why the other tables haven't been added. If I try and add one of the failing tables on its own, again, nothing happens. I am using VS 2010, SQL Server 2008.
Any ideas as to why these database tables are failing to create? I realise there isn't much detail to this question, but there isn't much detail to the situation - It really is a database with 3 tables, of which 2 are failing to create through the wizard with no error.
Thanks.
Upvotes: 2
Views: 2073
Reputation: 65391
It could be that the 2 tables that are failing do not have an index.
Also, if you open up the edmx file in notepad (or other text reader), the error message is proably in there.
Upvotes: 4