access EF classes from a Class Library - exactly how do configure/test the connection string in the

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-04-30T07:20:07Z Indexed on 2010/04/30 7:27 UTC
Read the original article Hit count: 204

Hi,

I'm getting very confused about how to call my EF classes in a Class Library from the Client Project I have? Things worked fine when they were in the same project. Now I'm getting errors such as "Unable to load the specified metadata resource ".

I've see various ideas / suggestions re how to fix the connection string (e.g. create an App.config in your client project & copy the connection string config from your class library, something about change the connection settings to copy to output, etc)

QUESTION - Can someone provide a solid way on how to get EF class access from a separate project working? (i.e. how to get the correct connection information to the client somehow)

thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about entity-framework