简体   繁体   English

在VS2012中从SQlite文件更新EDMX失败

[英]Updating EDMX from SQlite-file fails in VS2012

In our project we use a sqlite and EF4. 在我们的项目中,我们使用sqlite和EF4。

Updating the edmx was no propblem under VS2010. 在VS2010下,更新edmx并不是问题。 Since using VS2012 there seems to be some kind of namespace called "None", which not appeared before. 由于使用VS2012,因此似乎有一种名为“ None”的命名空间,以前没有出现过。 (see screenshot) (请参见屏幕截图)

As you can see the tables could be read. 如您所见,可以读取表。 But when clicking finish the designer hangs with mulitple messages of kind: 但是,单击完成时,设计器会挂起多种消息:

  • The table 'tbl...' is referenced by a relationship, but cannot be found. 表“ tbl ...”由关系引用,但找不到。

Also installed the latest System.Data.SQlite without any changes. 还安装了最新的System.Data.SQlite,没有任何更改。

在此处输入图片说明

Does the show in Datasources in VS? VS中的数据源中是否显示? View the Model.edmx as XML (right click -> open with) See if that give you more info. 以XML形式查看Model.edmx(右键单击->打开方式),看看是否能为您提供更多信息。 Stack Model Generation info 堆栈模型生成信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM