错误11错误2002:和EntityContainer“SomeEntitieContainerName”在MetadataWorkspace不存在指定为该MSL一部分的概念模型错误、不存在、为该、模

2023-09-03 15:36:29 作者:娜样杰出的星光

当我尝试编译我的web应用我得到这个错误。

I'm getting this error when I try to compile my webapplication.

我只有的.edmx名为BancorlineDB.edmx,有一个实体容器名称设置好的一个*为BancorLineEntidades。

I have only an *.edmx named BancorlineDB.edmx that has a "Entity Container Name" setted to "BancorLineEntidades".

推荐答案

听起来像有任何一个与你的配置问题或一个实体框架的文件已损坏。

Sounds like there is either a problem with your configuration or that one of the entity framework files is corrupt.

最快的解决它的方法可能是要删除的模型,确保在配置文件中所有对它的引用都被删除,然后重新从数据库模型。

Fastest way to fix it is probably to delete the model, make sure all references to it in the configuration files are deleted, then regenerate the model from the database.

 
精彩推荐
图片推荐