This project is read-only.

EFDAL Interface Project: Use?

Apr 14, 2011 at 4:40 AM

I'm curious about how the EFDAL interface project definitions are used in apps. I have to admit I was thinking they'd be useful in creating a datalayer, but after playing around with things for a while that doesn't seem to be the case. But I freely admit that I'm not particularly knowledgeable about defining datalayers.

Apr 14, 2011 at 7:52 PM

These were built so people could unit test EF. Normal EF does not lend itself to interface based unit testing very easily. For example dependency injection uses interface based testing. You can build a mocking layer on top of it and build unit tests. If you are not doing this then they are probably not that useful for you.