开发者

Entity Framework "default EntityContainer not found"

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜