Is Entity Framework more mock-up than Linq2Sql?

I found that Linq2Sql is not great (Rhino) since I don't need interfaces. Does EF generate code that is more layout?

NOTE. I'm not kidding, but without interfaces, the next reader to this question may not have its bias.

EDIT: VS2008 / 3.5 at the moment.

+3
source share
2 answers

Entity Framework 1.0 layout: http://blogs.msdn.com/diego/archive/2008/03/03/unit-testing-your-entity-framework-domain-classes.aspx

This is not very, but it is possible. EF 4 is significantly improved in this respect compared to EF 1.0.

+2

, , , (DAO) Linq2SQL, intefaces , , RhinoMocks.

+1

Source: https://habr.com/ru/post/1745133/


All Articles