The EntityContainer name must be unique. An EntityContainer with the name 'Entities' is already defined

前端 未结 12 998
孤城傲影
孤城傲影 2020-12-15 03:11

For a little background:

I have a DLL project with the following structure:

Rivworks.Model (project)  
  \\Negotiation (folder)  
      Model.edmx          


        
12条回答
  •  借酒劲吻你
    2020-12-15 03:39

    I had the problem too but my solution was to clean the bin directory and then remove the connection string with the entity container name. Then I could rename my entities and put back the connection string.

提交回复
热议问题