Home Alternative to Unit of Work
Reply: 1

Alternative to Unit of Work

Nands Published in 2018-02-14 10:12:58Z

I am working on creating ASP.net MVC project which would use stored procedures to insert/update data. Currently am using repository pattern with Unit of work. But since UnitOfWork.Commit would never be called, won't Unit of Work be redundant?

If so, what would be a better architecture to follow?

buffjape Reply to 2018-02-14 10:29:20Z

The repository is the important bit - it keeps all database-access code in one place.

Stick with what you're doing and ignore the UOW facility which you do not need at the moment (but maybe you will need it later).

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.343927 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO