Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 940 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 940 Bytes

Unit Of Work With Multiple DBContexts

A MVC 5 application with Automapper, EF 6, repository pattern, dependency injection using Autofac which uses one unit of work to deal with multiple dbcontexts with Async functions.

Features:

  • Entity Framework 6
  • MVC 5 Web App
  • Async MVC 5 Web App
  • MVC 5 WepAPI 2
  • Dependency Injection and IOC using Autofac
  • Unit Of Work with multiple DBContexts
  • Generic Repository with Async functions
  • Code First approach
  • Power of repository extensibility
  • NUnit with Async Tests
  • Moq

Instructions:

  • Please alter connection strings in the application's webconfig file.
  • Go to package manager console -> select UoW_MultipleDBContext.Data and execute the command 'update-database -verbose'.

Hope this design pattern helps. Any suggestions are welcome in improving this framework.

-- Raghav