Revisiting - how to make your EF queries testable

added by Paul Wheeler
9/15/2014 3:37:19 PM

1 Kicks, 77 Views

So, some time back I spent some time agonizing around testability of code which has to talk to a database. I now think I have found a somewhat reasonable answer, which assumes that you are using some kind of LINQ query relational database mapper like EntityFramework which my samples are based on.