开发者

Entity Framework Model - Not allowing me to add certain tables

开发者 https://www.devze.com 2023-01-07 04:08 出处:网络
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. Th

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消