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
Actually, if you do it right, you don't have to sacrifice .include when using an abstract repository pattern. I can elaborate and blog on this topic, but IRepository<T> means you can still return IQueryable<T>, so you can use .Include() still.


Viewing all articles
Browse latest Browse all 1793

Trending Articles



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