Unit testing with Entity Framework

I want to test my Entities that are built using Entity Framework. My concern is that using Entity Framework means directly working with data source. So any ideas how to unit testing Entity Framework based components?

Answers


For Enity Framework 4, this looks promising: Testability and Entity Framework 4.0


Need Your Help

Using MongoDB runCommand with Django MongoDb-engine

django mongodb geolocation django-mongodb-engine

I am using mongodb-engine to access MongoDB from a Django project. Normal get, insert and update works quite well, but now would I like to use the geoNear functionality. I can just not figure out a...

jQuery post data partially sent to PHP

javascript php jquery ajax

I have javascript code that gets an array of IDs and then sends them using ajax to PHP. For some reason out of 3 arrays that I send, the first one is never sent, so I always get an empty array in P...