Quantcast
Channel: patterns & practices: Project Silk
Viewing all articles
Browse latest Browse all 93

New Post: IUnitOfWork in project silk

$
0
0
Hi

I project silk they are using IUnitOfWork in the BaseRepository class. Is that really necessary? The BaseRepository is adjusted to use with EF dbContext so its not an abstraction for the context in order to be able to change context.
If I'm not mistaken they could have used a property "context" of MileageStatsDbContext and gotten the same result.

What's the point of using IUnitOfWork like they do?

Viewing all articles
Browse latest Browse all 93

Trending Articles



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