开发者

Entity Framework "default EntityContainer not found"

开发者 https://www.devze.com 2023-03-25 02:29 出处:网络
I have two solutions: one that builds a class library for consumption by most things, and one that consumes it.

I have two solutions: one that builds a class library for consumption by most things, and one that consumes it.

The class library contains a series of .edmx files, and the app.config is bare of connection strings. To connect, the consumer (the other project) must pass in connection strings from its app.config file, which is then p开发者_StackOverflow社区assed in to the data context constructor.

However, my class library always reports "The defautl EntityContainer name 'X' could not be found in the mapping and metadata information".

Has anybody run in to this problem before? Is it something to do with my connection strings? Or my .edmx files? I've never edited those files past importing functions via Visual Studio.

Thanks.

0

精彩评论

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