The mapping of CLR type to EDM type is ambiguous with EF 6 & 5?

后端 未结 14 1569
长发绾君心
长发绾君心 2020-11-27 05:38

Please any one can help me to fix this error?

Schema specified is not valid. Errors:

The mapping of CLR type to EDM type is ambiguous because mult

14条回答
  •  孤城傲影
    2020-11-27 06:10

    I got the error above because for both connection strings, I had the same value for metadata specified in my main project's config file, like below:

    
    
    
    

    I ended up copying the correct connection string from the EntitiesB's project's config file.

提交回复
热议问题