4

Does anyone know whether there's a way to mock Entity Data Provider so Unit Tests don't hit the live data? I found this blog but it seems the project hasn't been released:

http://www.chrisdoesdev.com/index.php/archives/62

Thanks

2 Answers 2

3

Mattwar has a great article on his blog about mocking up LinqtoSql with reflection -- perhaps you can use that as a starting point?

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

Comments

0

I would be interested to know this myself. I don't think that it's possible, because one of the things that got the Agile/Alt.Net community in a tizzy about the Entity Framework was this very problem of the lack of persistence ignorance.

Comments

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.