0

Ok I have a console app with an app.config, and a web project with a web.config, both which have the same connection string set for my entity framework connection to my SQL Server 2008 database. My entity framwork edmx is in a class library of its own which both the console app and web project reference.

In code behind in the web project I can access all calls, e.g myconn.AddToTable() and moremyconn.DeleteObject()

In the console app however I can only access AddTo calls but not delete?! Any ideas? THanks.

1 Answer 1

1

its ok i figured it - i was missing a system.data.entity reference in my console app

Sign up to request clarification or add additional context in comments.

1 Comment

Mark your question as answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.