Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: Mocking DbSet throws ArgumentNullException for 'source' argument when used with Include

$
0
0
General repository hides away all the powerful feature (like Include) that available when working directly with ORM.
I can suggest keep away from general repositories and write custom repositories for specific operations (for example, for querying view models). But thats doesn't make the problem go away - you still have to test those repositories too.

Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>